-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[import/default] - false negative for react-test-renderer #2183
Comments
This may be related to this, what seems like a regression in the latest version of elsint-plugin-import, although we're not using We're using mingo@2.5.3
Suddenly started resulting in the error:
Not fully versed with how typescript imports work, but Mingo also uses it. My module does not. note we're also not using the "import" syntax here, but require. Maybe plugin-import is mixing up "main" and "module" in package.json?
|
@alasdairhurst I didn't put a lot of effort into figuring out if this is regression or not, your issue is probably different... Probably you should open a new one. |
@alasdairhurst i don't think that is related; please do file a new issue. |
I'm doing this:
Getting this:
Using these types: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react-test-renderer/index.d.ts
And I have
esModuleInterop
in my tsconfig, so this should not throw error (thanks to #1689)The text was updated successfully, but these errors were encountered: