Skip to content

Commit 096b4d9

Browse files
committed
Enable stricter tsconfig compilerOptions
Specifically, noImplicitThis, alwaysStrict, strictBindCallApply. No changes to the source were required; we were already compliant with these options.
1 parent b099301 commit 096b4d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tsconfig.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
"target": "es5",
55
"noImplicitAny": true,
66
"noUnusedLocals": true,
7+
// TODO(rsgowman): enable `"strict": true,` and remove explicit setting of: noImplicitAny, noImplicitThis, alwaysStrict, strictBindCallApply, strictNullChecks, strictFunctionTypes, strictPropertyInitialization.
8+
"noImplicitThis": true,
9+
"alwaysStrict": true,
10+
"strictBindCallApply": true,
11+
//"strictNullChecks": true,
12+
//"strictFunctionTypes": true,
13+
//"strictPropertyInitialization": true,
714
"lib": ["es2015"],
815
"outDir": "lib",
916
// We manually craft typings in src/index.d.ts instead of auto-generating them.

0 commit comments

Comments
 (0)