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": { "compilerOptions": {
"target": "es5", "target": "es5",
"module": "commonjs", "module": "commonjs",
"rootDir": "src",
"moduleResolution": "node", "moduleResolution": "node",
"sourceMap": false, "sourceMap": true,
"outDir": "dist", "outDir": "dist",
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"strict": true, "strict": true,
"lib": ["ES2015"], "lib": ["ES2015"],
"skipLibCheck": true, "skipLibCheck": true,
"experimentalDecorators": true "allowJs": true,
"declaration": true,
}, },
"include": ["src/**/*"], "include": ["src/**/*"]
"exclude": ["node_modules"] }
}