Skip to content

Commit 185c74f

Browse files
committed
chore: add strictBindCallApply, preserveConstEnums, noImplicitThis, strictFunctionTypes
Signed-off-by: Raccoon <[email protected]>
1 parent d96316e commit 185c74f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tsconfig.json

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
"outDir": "./dist/",
88
"module": "CommonJS",
99
"esModuleInterop": true,
10+
11+
// strict check
12+
"strictBindCallApply": true,
13+
"preserveConstEnums": true,
14+
"downlevelIteration": false,
15+
"noImplicitThis": true,
16+
"strictFunctionTypes": true,
17+
1018
"typeRoots": ["./typings", "./node_modules/@types"],
1119
"paths": {
1220
"@hackmd/diff-match-patch": ["./typings/diff-match-patch/"]

0 commit comments

Comments
 (0)