sparse-intern-71089
04/08/2020, 10:00 PMsteep-toddler-94095
04/09/2020, 4:55 AMimport yourFile from "./yourFile.json"
which will allow you to use it as an (implicitly typed) variable
make sure in your tsconfig you have this enabled:
{
"compilerOptions": {
"resolveJsonModule": true
...
colossal-room-15708
04/09/2020, 1:14 PM