amis/tsconfig-for-declaration.json
liaoxuezhi 57ee8220c1
ts 编译报错问题处理 (#2612)
* chore: typescript 允许 import md 和 svg 文件,并解决 button-group-select 文档页打不开的问题

* 修复 gh-pages 编译报错
2021-09-24 13:20:27 +08:00

28 lines
760 B
JSON

{
"compilerOptions": {
"outDir": "output/",
"module": "commonjs",
"target": "es5",
"lib": ["es6", "dom", "ES2015"],
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": "src",
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceRoot": "src",
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"typeRoots": ["./node_modules/@types", "./types"],
"skipLibCheck": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "acceptance-tests", "webpack", "jest"],
"types": ["node", "typePatches"]
}