Skip to content
This repository has been archived by the owner on Aug 14, 2021. It is now read-only.

Show the type of destructuring parameter in case it has type defined #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Maximkaaa
Copy link

This is a follow-up PR for pull request on main repo - TypeStrong/typedoc#621. This changes the displayed type of destructured parameter:

/**
 * A function with a destructuring argument that implements interface.
 */
export function functionWithTypedDestr({name}: classes.INameInterface) { }

Before change:

typed_desctr

After change:

typed_desctr_new

No other test cases are affected by this change.

@ozum
Copy link

ozum commented Feb 19, 2018

I was just looking for this. Could it be merged please?

@aciccarello aciccarello self-assigned this Feb 20, 2018
@aciccarello aciccarello added the related-typedoc-pr This has a corresponding PR on the typedoc repo label May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
related-typedoc-pr This has a corresponding PR on the typedoc repo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants