-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
23 lines (23 loc) · 1.1 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"compilerOptions": {
"target": "ES2015",
"module": "commonjs",
// google/protobuf/descriptor is an old proto file. It generates a couple of tsc errors like:
// error TS7023: 'fromObject' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions.
// error TS7022: 'message' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer.
// While we would like to have strictness on, our use of descriptors combined with tsc's current
// lack of a file-based strictness skipping leaves us with not many choices.
"strict": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"declaration": true,
"rootDir": "src",
"outDir": "dist"
},
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Recommended",
"exclude": [
"dist", "index.ts", "generate.ts"
]
}