We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import/named reports an error on the code: import { Moment } from "moment";
import { Moment } from "moment";
"Moment not found in 'moment' (import/named)"
This is valid code, typescript correctly parses the imported interface from moment.d.ts
Likely related to: #1282
The text was updated successfully, but these errors were encountered:
Although now that import type exists, I'd suggest using that.
import type
Sorry, something went wrong.
Thanks for the tip, I will use that!
close in favor of https://github.com/import-js/eslint-import-resolver-typescript
No branches or pull requests
import/named reports an error on the code:
import { Moment } from "moment";
"Moment not found in 'moment' (import/named)"
This is valid code, typescript correctly parses the imported interface from moment.d.ts
Likely related to: #1282
The text was updated successfully, but these errors were encountered: