How to config Project @types in external lib?

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?

2 comments
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...

1
Comment actions Permalink

it works, thank you so much

0

Please sign in to leave a comment.