Answer the question
In order to leave comments, you need to log in
How to make json friends with TS and NODE JS?
I'm just getting acquainted with TS, I need to read a json file, work with it as an object, and overwrite it.
In order to connect json as a module on TS, I registered it and configured it in tsconfigimport * as test from './foo/bar.json';
"resolveJsonModule": true,
"moduleResolution": "node"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question