📜  babel 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:36.646000             🧑  作者: Mango

代码示例3
"compilerOptions": {  // Ensure that .d.ts files are created by tsc, but not .js files  "declaration": true,  "emitDeclarationOnly": true,  // Ensure that Babel can safely transpile files in the TypeScript project  "isolatedModules": true}