How to config Project @types in external lib?


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?

Comment actions Permalink

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 removing react-router-dom from typescript.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...

Comment actions Permalink

it works, thank you so much


Please sign in to leave a comment.