-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
types vs typings #41
Comments
wait i'm confused myself. so if "ts" section is not present then this resolver should not work. right? Look I just want it to be consistent |
Why not use {
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx", ".js", ".jsx"]
}
}
} And please provide a minimal and runnable reproduction, I can not offer any help before debugging. |
@JounQin thanks for your reply |
@TrejGun Then what are the steps to reproduce? I don't quite understand the problem. |
steps 1 git clone https://github.com/TrejGun/eslint-typescript-bug.git result
this error message should not be there because types for 'react-final-form' are . present in the module |
I tried
So I don't think your issue is related to |
And the sequence of
|
@TrejGun |
@JounQin sorry I did not get
|
Yes, and
You should only have one |
please post your config or better make a PR to my code. I can't make |
thanks a lot.
with
and this works
see screenshots ^^^ |
I've mentioned this related question above at #41 (comment) and README. There's no reason to enable |
ok i got your point, thanks for your patience |
I can't get your point, you can always use I'm not going to answer things beyond scope of this resolver. (I've answered in the related issue and README.) |
as Typescriopt doc says
but in fact I have problem with
typings
it works with config (actually only "ts" section is enough, alwaysTryTypes could be any)
and does not work (is highlighted) with
you can try these configs on this code (package)
The text was updated successfully, but these errors were encountered: