📜  带有 babel 的 typescript - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:15.991000             🧑  作者: 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}