Skip to content

Commit 0f2c23b

Browse files
committed
Further Typings Config
1 parent 5fcae51 commit 0f2c23b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"name": "yiminghe"
2727
}
2828
],
29+
"type": "commonjs",
2930
"main": "./lib/index",
3031
"browser": {
3132
"./lib/index": "./dist/jszip.min.js",

tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
"noEmit": true,
88
"esModuleInterop": true,
99
"forceConsistentCasingInFileNames": true,
10+
"isolatedModules": true,
1011
"strict": true,
12+
"strictNullChecks": false, // temp, remove later on
13+
"noImplicitOverride": true,
14+
"noPropertyAccessFromIndexSignature": true,
15+
"noUncheckedIndexedAccess": true,
16+
"allowUnreachableCode": false,
17+
"noUnusedLocals": true,
18+
"noUnusedParameters": true
1119
}
1220
}

0 commit comments

Comments
 (0)