Closed risen228 closed 4 years ago
Got it working using this configuration:
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@app/*": ["src/*", "src/"],
"@my-react": ["./node_modules/react/", "./node_modules/@types/react/"]
}
}
}
TS cannot find types declaration file for
@my-react
, even when@types/react
is installed.Types aliasing makes no sense too.