-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exports + .d.ts emit #2139
Merged
Merged
Exports + .d.ts emit #2139
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
6ac1bcc
Enable declaration emit for import "mod" syntax
sheetalkamat 96139ca
Enable declaration emit for import * as ns from "mod" syntax
sheetalkamat f2a28a5
Declaration emit for NamedImport syntax
sheetalkamat 05fcdf0
Declaration for default bindings of the import syntax
sheetalkamat e0323b4
Emit the import declaration in d.ts file only if it is visible
sheetalkamat c90f820
Enable test cases when import binding is used in export assignment di…
sheetalkamat 863e73c
Test case for emitting partial part of import syntax
sheetalkamat 0dfe425
Test cases for export import syntax
sheetalkamat 00dc5fc
Add test cases for dts generation without export tag
sheetalkamat f8351c8
Set the declarations of export assignment visible on demand through d…
sheetalkamat 0332fed
Merge branch 'es6Import' into es6ImportDts
sheetalkamat 23c1c5e
Baseline accept after merging
sheetalkamat 649cd3b
Declaration emit fixes for binding pattern in variable statements
sheetalkamat b88efa1
Test cases to verify the privacy error reporting is done on correct node
sheetalkamat e7ff4e2
Merge branch 'es6Import' into es6ImportDts
sheetalkamat 5b6a9a8
Merge branch 'es6Import' into es6ImportDts
sheetalkamat fc1528f
Dts for export * from "mod" and export { a, b as c,...} [from "mod"]
sheetalkamat 96e5286
Merge branch 'master' into es6ImportDts
mhegazy b8d78f9
Merge remote-tracking branch 'origin/master' into destructuringDts
vladima f8ae823
merge with master, fix emit for omitted expressions
vladima 210e602
merge with destructuringDts
vladima 300d1fc
Merge branch 'master' into DtsExports_all
vladima 0e2fe02
update baselines
vladima 66b1c02
merge with master
vladima 8796396
merge with master
vladima a7dac51
merge with master
vladima e9ea336
Merge branch 'master' into DtsExports_all
vladima 218736b
initial version of declaration emit for default export
vladima 9b62c2c
Merge branch 'master' into DtsExports_all
vladima eb11607
use type annotation when emitting declarations
vladima e4f6f16
merge with master, accepted baselines
vladima c38e065
do not emit non-exported import declarations that don't have import c…
vladima 2ad40c2
addressed PR feedback
vladima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1649,6 +1649,10 @@ | |
"category": "Error", | ||
"code": 4081 | ||
}, | ||
"Default export of the module has or is using private name '{0}'.": { | ||
"category": "Error", | ||
"code": 4081 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. update code |
||
}, | ||
"Loop contains block-scoped variable '{0}' referenced by a function in the loop. This is only supported in ECMAScript 6 or higher.": { | ||
"category": "Error", | ||
"code": 4091 | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we find a better name.