Skip to content

Don't implicit-any diagnostic for json module#27376

Merged
sheetalkamat merged 2 commits into
masterfrom
codeFixCannotFindModule_suggestion_falsePositive
Nov 16, 2018
Merged

Don't implicit-any diagnostic for json module#27376
sheetalkamat merged 2 commits into
masterfrom
codeFixCannotFindModule_suggestion_falsePositive

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Sep 26, 2018

Previously we would wrongly issue a diagnostic saying the the module is implicitly any.

@ghost ghost requested a review from sheetalkamat September 26, 2018 20:51
////import abs = require([|"foo/bar.json"|]);
////abs;

verify.noErrors();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

How come? There should be error in node_modules/foo/bar.json because this is not json?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Fixed.

@ghost ghost force-pushed the codeFixCannotFindModule_suggestion_falsePositive branch from 8a4fe21 to 7b1388b Compare September 26, 2018 23:57
@ghost ghost assigned sheetalkamat Nov 16, 2018
@sheetalkamat sheetalkamat merged commit 6bb1ff2 into master Nov 16, 2018
@sheetalkamat sheetalkamat deleted the codeFixCannotFindModule_suggestion_falsePositive branch November 16, 2018 23:48
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
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.

1 participant