colossal-room-15708
04/08/2020, 10:00 PMtemplate.json
) into this property?
I tried way too many things now and they all seem way too complex (SO answers usually are).steep-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