* Remove error on invalid jsdoc tokens
In JSDoc:
1. In the scanner, don't issue an error, even for invalid identifiers.
2. In the binder, don't issue an error for reserved (but otherwise valid)
identifiers.
/**
* Example of 1: "\"
* Example of 2: @private
*/
* Update baselines
* Add invalid unicode escape test for JSDoc
* Add quotes around invalid unicode escape
* Add another unicode escape JSDoc test
* Target types in excess property checking must match all discriminable properties
This allows fewer types to be discriminated in excess properties, which
fixes some examples.
* Add excess property test
* Fix semicolon lint
* Remove extra semicolon!
* Improve EPC for unions with multiple discriminants
* Improve excess property checking for intersections
Still a draft, the implementation needs improvement
* Use mutable isIntersection in checkTypeRelatedTo
This makes parameter lists a lot shorter. Seems like a slight
improvement, although I can revert if I change my mind.
* Fix semicolon lint
* Remove TODOOOO
* Revert "Use mutable isIntersection in checkTypeRelatedTo"
This reverts commit b8dccff2a2.
* Resolve module specifier relative to moduleFile.originalFileName
* Use baseline testing for outputs
* Added skipLibCheck to test
* Switch to using vfs.formatPatch for output
* Adjust isIdentifierText to skip multiple characters when a code point is multiple chars long
* Add a few examples with mixed unicode characters
* for posterity, add some unicode cursive script characters
* Test some more planes more explicitly
* Fix emit for object rest on a module export
* Add tests for exports of empty object/array binding patterns
* Add delay for exec to ensure diff tool has enough time to start
* Preserve const enums should keep import refs
for exported const enums exported via export default
Move some functionality around, small cleanup
Remove unneeded const enum check
* Only mark const enums as references with preserveConstEnums on in export assignments
* Limit change to declarations and preserveConstEnums mode
* Add basic test for current behavior
* Fixes getting destructured variables references(#31922)
* Add test case that renames destructured property
* Fixes missing nested object destrucuturing variable references
* Add failing tests
* Use default import or namespace import for import fixes when compiler options allow
* Don’t do import * for export=, ever
* Only do import default for export equals if nothing else will work
* Never do import/require in a JavaScript file
* Update tests for changes in master
* Add const/require fix for JS and select based on usage heuristic
* Fix JS UMD import
* Amend scanner to support astral characters in identifiers when parsing es6+
* Use charSize helper rather than one-off maybe advance helper
* Update script to emit informative comment, run in unicode 12.1 environment
* Add suggested change