1 min readApr 26, 2017
Another simple way is just using `require` funciton directly in typescript. It is supported by node and @types/node, otherwise some need to declare require
types.
var json = require(‘./my.json’);
That’s it.
Another simple way is just using `require` funciton directly in typescript. It is supported by node and @types/node, otherwise some need to declare require
types.
var json = require(‘./my.json’);
That’s it.