I enabled a webpack alias in my jsconfig.json file for VSCode.
But when I go to definition of a React component, I get 2 definitions:
- my react component
- an index.d.ts file of node_modules/@types/react
How do I get rid of the index.d.ts file ? Knowing that I use only jsx.