How to config Project @types in external lib? Follow
Answered
this is a java and react project
what is the problem?
so where did this 'Project @types' come from and how can i config it?
Please sign in to leave a comment.
Must be a typings conflict. IDEA downloads typings for some popular libraries to its configuration folder and uses it to enhance code completion. Could you check if either disabling
typescript.external.type.definitions
Registry key or removingreact-router-dom
fromtypescript.external.type.definitions.packages
key value and then removing the auto-downloaded typings from<IDEA system folder>\javascript\typings
folder makes things any better?The Registry can be located via: Help > Find action > type
Registry...
it works, thank you so much