📜  typescript 如何在编译时对 json 文件进行模式化 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:58.577000             🧑  作者: Mango

代码示例3
// add the underneath code in tsconfig.json, now json file will be imported 

"resolveJsonModule": true