-
Notifications
You must be signed in to change notification settings - Fork 12.8k
tsc should give an error if "typings" in package.json is not a string #4828
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
Comments
PRs are welcomed. |
Gracefully handle errors where 'typings' is not a string (fixes #4828)
thanks @pimterry! |
I don't think this was the correct fix. We silently do the wrong thing. We should be giving an error message. |
one aspect that will be added in this PR is ability to trace module resolution process so we can record the fact that type of |
@vladima has another validation tool that we should publish, the tool is geared towards package authors, this is where we should report the error. |
Courtesy of a long troubleshooting session with @kataras on September 16, 2015.
If you have
"typings"
inpackage.json
as an array or something instead of a string, we will crash hard:The text was updated successfully, but these errors were encountered: