-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Allow allowJs
and declaration
to be used together
#32372
Merged
weswigham
merged 60 commits into
microsoft:master
from
weswigham:symbolic-declaration-files
Sep 26, 2019
Merged
Changes from 43 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
78f04e5
Allow allowJs and declaration to be used together
weswigham f2a2a10
Add tests for various import/export forms, add notes on export as nam…
weswigham ccdff43
Tests & fixes for computed names
weswigham d18f1e3
Add test with current @enum tag behavior
weswigham 7ed1331
fix declaration emit for jsdoc @enum tags
weswigham d44383e
Small adjustments to base class serialization to fix bugs in it
weswigham d7d37ab
Guard against type/type parameter confusion when using typeParameterT…
weswigham 91c402e
Integrate feedback from PR
weswigham eb3b4cd
Fix issue with export= declarations visibility calculation and type d…
weswigham 08c07cd
Only make one merged getCommonJsExportEquals symbol for a symbol
weswigham 4d3a21d
Support preserving type reference directives in js declarations
weswigham 11e9a06
Skip declare mdoifiers for namespace members in ambient contexts
weswigham 02cc16b
FAKE ALIASES AND NAMESPACES EVERYWHERE
weswigham 76f1e21
Dont do namespace sugar when type members contain keyword names
weswigham b4d6b2c
Fix json source file export modifier under new output
weswigham 8d30a0c
Such clean nested aliasing, very wow
weswigham d369552
Fix lint
weswigham 85d3008
Add visibility errors, reuse type nodes where possible
weswigham e6ef543
Suppoer having correctly named import types in bundled js declaration…
weswigham a0bf89e
Better support for module.exports = class expression
weswigham a68fd1d
Fix discovered crash bug
weswigham 665afcf
Allow export assigned class expressions to be reachable symbols from …
weswigham b87e4d6
Add missing semicolon
weswigham 114c4fd
Support @enum tag post-merge
weswigham 5af190b
preserve comments on signatures and declarations where possible
weswigham 6ea316e
Basic support for js classy functions
weswigham 43d7965
Add example we should do better with
weswigham bebce37
Prototype assignments make things a bit wonky, but the example from t…
weswigham 3961eae
Make a ton of changes to support the new way js classes are bound
weswigham 6998296
Remove some old comments, fix import and export default names
weswigham 799a4f4
Fix bug in object define handling and add tests for object define pro…
weswigham 0e3894d
Fix organization nits from PR comments
weswigham 94a64f7
Merge branch 'master' into symbolic-declaration-files
weswigham aa67e4c
Preserve comments from jsdoc declarations on properties and js declar…
weswigham 14749ba
Merge export declarations with identical specifiers
weswigham d1a6da4
Remove completed TODO comment
weswigham 733511d
Split lint
weswigham 8de5d73
Merge branch 'master' into symbolic-declaration-files
weswigham a203b5f
Remove now-unused function
weswigham 550b869
PR feedback
weswigham 9d0cb15
Add some project references tests, remove some checks from project re…
weswigham 87cbc15
Merge branch 'master' into symbolic-declaration-files
weswigham ff95ab5
Update project references tests again
weswigham bd9ac62
Merge branch 'master' into symbolic-declaration-files
weswigham 649c9dd
Merge and update project references tests
weswigham cdcebc6
Rename case
weswigham 16a332f
Update test to include declaration output
weswigham e055a9b
Remove yet another project refernces redirect extension check
weswigham 08b105c
Update comment
weswigham adb773b
Add additional import ref to test
weswigham b8e2e91
Add shorthand prop to test
weswigham 40a3540
Fix comment text
weswigham 4741f40
Extract var to temp
weswigham 59ddf20
Simplify function and add whitespace
weswigham 8cad7b0
Merge branch 'master' into symbolic-declaration-files
weswigham 861256f
Update project refs test to use incremental edit entry
weswigham 0a2c6c8
Stylistic refactors in the symbol serializer
weswigham db2b1f9
Another round of PR feedback, mostly style, small bugfix with constru…
weswigham d7ef75b
Merge branch 'master' into symbolic-declaration-files
weswigham 007b3d4
Use x instead of index
weswigham 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
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.
this very likely obsoletes some syntactic code in the checker. But are you sure it doesn't cause these symbols to take incorrect code paths in the checker sometimes? I guess tests would fail if it did.
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.
Yah, definitely seemed like the symbol was missing an
Assignment
flag.