VSCode typescript importing json file highlighting issue
I have faced similar issue, check your file is included as @Matt McCutchen said, the file which containsimport serviceKey from "../src/config/firebaseServiceKey.json";
should be included under src
folder as you described in the tsconfig.json
"include": [ "src/**/*"],
In my case, it was a test file which should not be included in the build. Because of that I have decided to ignore that highlight in the vs.
// @ts-ignoreimport packageJson from '../../../../package.json';