forked from bufbuild/protobuf-conformance
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
32 lines (32 loc) · 1.08 KB
/
tsconfig.json
File metadata and controls
32 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"include": ["**/*.ts"],
"compilerOptions": {
"esModuleInterop": true,
"target": "es2017",
"verbatimModuleSyntax": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictBindCallApply": true,
"strictPropertyInitialization": true,
"noImplicitThis": true,
"useUnknownInCatchVariables": true,
"noUnusedLocals": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"moduleResolution": "Node",
// Need to skip lib checks because protobuf.js generates a weak type that proto2 TestMessage implements
// but the implementing class adds its own properties, so the lack of overlap causes TypeScript weak
// type detection to fail. See IMessageSetCorrect for the code.
// https://github.com/protobufjs/protobuf.js/issues/1559
"skipLibCheck": true,
"lib": [
"ES2016",
// ES2020.BigInt for the bigint representation of 64-bit integers
"ES2020.BigInt"
]
}
}