I've this code, it's a react typescript project:
import { Trans, translate, InjectedTranslateProps } from 'react-i18next';
and then:
export const Home: React.SFC<InjectedTranslateProps> = props => (
When i click on webstorm on InjectedTranslateProps, it's take me to /node_modules/@types/react-i18next/src/props.d.ts
why is taking me to @types and not to 'react-i18next' package ? i mean all the links take me to @types and not the right folder for react-i18next in node_modules
so, everything pass by @types, and i's that library to connect it with the real package?
i don't need to see javascript code, just need to see if imports go first to the typescript file, and it's that file that do the work to import.