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?

0

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

it works, thank you so much

0

请先登录再写评论。