One great aspect of angular 7 is its compatibility with typescript 3.1:
https://alligator.io/angular/angular-7/
I have made the following changes to the tsconfig.json file, within the 'compilerOptions' section:
"resolveJsonModule": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true
Everything seems to be working well - I am able to iterate over my json file smoothly.
However, I'm encountering a "TS2307: Cannot find module" error in my IDE:
https://i.sstatic.net/qasbZ.png
I have attempted to adjust the import syntax based on recommendations from: Importing json file in TypeScript
Unfortunately, these attempts have been unsuccessful.
Any suggestions?
Edit: I am using Webstorm as my IDE.