Repository navigation
Conversation
When strictNullChecks is on, check the RHS of the following
destructuring assignments for possible null or undefined:
const {} = ...
const [] = ...
let {} = ...
let [] = ...
({} = ...)
Move object destructuring assignment to checkObjectLiteralAssignment Only check assignability of types in checkVariableLikeDeclaration for object/array destructuring when there are properties present in the pattern.
It's already in the EditorSettings and the LanguageServiceHost. Fixes microsoft#18291 Fixes microsoft#18445
Thanks to @Andy-MS for the suggestion!
* Handle CodeFixAction in mapCodeAction * Update API baseline
Owner
Author
|
Proposed fix for microsoft#21280 |
* Increase user test timeout to 10m because npm can be slow, remove parse5 because they added their own types, accept updated error msg for rxjs, acccept current chrome baseline and pin chrmoe version * Suppress lint
…ty-destructuring Fix microsoft#20873: Enforce strictNullChecks for RHS of empty destructuring assignment
LEGO: Merge pull request 21284
Handle linebreaks consistently in code fixes and refactorings
Report more detailed info during script info creation
This commit fixes a bug whereby semantic errors are not shown on external files because external files are not considered part of project root files. This issue was discovered while investigating an issue where semantic errors are not shown in external Angular templates.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This commit fixes a bug whereby semantic errors are not shown on external files because they are not considered part of project root files.
Fixes #