tsconfig.json 544 B

123456789101112131415161718
  1. {
  2. "compilerOptions": {
  3. //语法编译为es5语法
  4. "target": "es5",
  5. //模块采用import语法且不作转换,转换工作交给gulp任务中的webpack2
  6. "module": "es2015",
  7. //用NPM模式加载
  8. "moduleResolution": "node",
  9. //对于没有Export的库进行兼容
  10. "allowSyntheticDefaultImports": true,
  11. //开启修饰器模式
  12. "experimentalDecorators": true,
  13. //识别基本的系统类库
  14. "lib": [ "dom", "es5", "es2015", "es2015.promise" ],
  15. "strict": true
  16. },
  17. "include": [ "./src/**/*" ]
  18. }