0a07d67c8d
Modify the tsconfig.json in lib/vscode/src/build. This adds the flag skipLibCheck: true to tell TypeScript to not type-check the declaration files at build time. We need to add this because otherwise it checks the declaration files and reports an error of duplicate type definitions because we use Jest for our tests and they use Mocha and they both use the global namespace "test" in their .d.ts files.
28 lines
635 B
JSON
28 lines
635 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2017",
|
|
"module": "commonjs",
|
|
"removeComments": false,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": false,
|
|
"resolveJsonModule": true,
|
|
"experimentalDecorators": true,
|
|
// enable JavaScript type checking for the language service
|
|
// use the tsconfig.build.json for compiling which disable JavaScript
|
|
// type checking so that JavaScript file are not transpiled
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"newLine": "lf",
|
|
"skipLibCheck": true
|
|
},
|
|
"include": [
|
|
"**/*.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules/**"
|
|
]
|
|
}
|