-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
TypeError when importing from 'typescript'
in file
#47
Comments
The error message is as following:
As you can see it comes from I've post a new issue at import-js/eslint-plugin-import#1801 instead. |
Thank you for filing it upstream and resolving it with the maintainer of the upstream package. I really appreciate it 😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Whenever I have imports from
'typescript'
module, I get type error:TypeError: Cannot read property 'type' of null
. I'm not sure if it is caused by this package or is coming from somewhere else. However, when I comment out the line'import/resolver': { typescript: { alwaysTryTypes: true } },
in.eslintrc.js
file, then the file gets properly linted.I created a small reproduction here: https://github.com/qlonik/eslint-import-resolver-typescript-repro
The text was updated successfully, but these errors were encountered: