Skip to content

Conversation

@yuit
Copy link
Contributor

@yuit yuit commented Mar 17, 2015

Fix following issue #2023.

Additional suggestion regarding emitting destructing in declaration file is allow destructuring in parameter position in ambient context so that language service can provide better signature help using information from .d.ts

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add a test for something that does not use an exported type

module M {
    class c {}
    export var {a } : {a:C};
}

@mhegazy
Copy link
Contributor

mhegazy commented Mar 18, 2015

looks like this is already fixed in 649cd3b

@yuit
Copy link
Contributor Author

yuit commented Mar 18, 2015

This PR #2025 has handled it

@yuit yuit closed this Mar 18, 2015
@yuit yuit deleted the fixEmitDestructuringInDeclarationFile branch March 18, 2015 22:10
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants