Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow untyped imports#11889

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
2 commits merged intomasterfromuntyped_imports
Oct 27, 2016
Merged

Allow untyped imports#11889

2 commits merged intomasterfromuntyped_imports
Oct 27, 2016

Conversation

@ghost
Copy link

@ghostghost commentedOct 27, 2016
edited by ghost
Loading

Fixes#11106
Replaces#11446
Made easier by#11704. No longer has to touchmoduleNameResolver.ts.

GoToLoop reacted with thumbs up emoji
@ghostghost mentioned this pull requestOct 27, 2016
@ghost ghostforce-pushed theuntyped_imports branch from3534494 toc81fec6CompareOctober 27, 2016 14:29
@ghost ghostforce-pushed theuntyped_imports branch fromc81fec6 to4937d9cCompareOctober 27, 2016 15:54
Copy link
Contributor

@mhegazymhegazy left a comment

Choose a reason for hiding this comment

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

With changes to the error message

"category":"Error",
"code":6143
},
"A package for '{0}' was found at '{1}', but is untyped. Because '--noImplicitAny' is enabled, this package must have a declaration.": {
Copy link
Contributor

Choose a reason for hiding this comment

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

how about something more consistent with the rest of the the--noImplicitAny error message, e.g.:Could not find a declaration file for module '{0}'. All imports implicitly have type 'any'.

Copy link
Author

Choose a reason for hiding this comment

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

How about:"Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

},
"A package for '{0}' was found at '{1}', but is untyped. Because '--noImplicitAny' is enabled, this package must have a declaration.": {
"category":"Error",
"code":6144
Copy link
Contributor

Choose a reason for hiding this comment

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

make this error code in the7000 along with the other--noImplicitAnyErrors

@ghost ghost merged commita143f97 intomasterOct 27, 2016
@ghost ghost deleted the untyped_imports branchOctober 27, 2016 18:32
@microsoftmicrosoft locked and limited conversation to collaboratorsJun 19, 2018
This pull request wasclosed.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mhegazy@msftclas

[8]ページ先頭

©2009-2025 Movatter.jp