My variable color
is located in the path app/theme
.
To set it up, I created a package.json file in app/package.json
with the following content:
{
"name": "app"
}
Now, to import color
in TypeScript files, I use the following syntax:
import { color } from 'app/theme'
. It works fine, but WebStorm flags it as a bug.
Any suggestions on how to resolve this issue?