Fixed tsconfig for compile only declaration files

This commit is contained in:
Sambo Chea 2021-09-16 18:13:59 +07:00
parent 59572c774c
commit 558626d0e4
Signed by: sombochea
GPG Key ID: 3C7CF22A05D95490

View File

@ -2,16 +2,17 @@
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"rootDir": "src",
"moduleResolution": "node",
"sourceMap": false,
"sourceMap": true,
"outDir": "dist",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"lib": ["ES2015"],
"skipLibCheck": true,
"experimentalDecorators": true
"allowJs": true,
"declaration": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
"include": ["src/**/*"]
}