Skip to content
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

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

Merged
merged 2 commits into from
Nov 16, 2018

Conversation

ghost
Copy link

@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
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant