summaryrefslogtreecommitdiff
path: root/jsconfig.json
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-12-06 03:53:16 +0000
committerGitHub <noreply@github.com>2023-12-06 03:53:16 +0000
commitbd5bc1a5db29903bc098995cd9262c4576bf76af (patch)
treec9214189e0214480fcf6539ad1c6327aef6cbd1c /jsconfig.json
parentfd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff)
parent23e6fb76319c9ed7c9bcdc3efba39bc5dd38f288 (diff)
Merge pull request #339 from toasted-nutbread/type-annotations
Type annotations
Diffstat (limited to 'jsconfig.json')
-rw-r--r--jsconfig.json31
1 files changed, 29 insertions, 2 deletions
diff --git a/jsconfig.json b/jsconfig.json
index 390b1624..0f780ead 100644
--- a/jsconfig.json
+++ b/jsconfig.json
@@ -2,10 +2,37 @@
"compilerOptions": {
"module": "ES2020",
"target": "ES2020",
- "checkJs": false
+ "checkJs": true,
+ "moduleResolution": "node",
+ "strict": true,
+ "strictNullChecks": true,
+ "noImplicitAny": true,
+ "strictPropertyInitialization": true,
+ "suppressImplicitAnyIndexErrors": false,
+ "skipLibCheck": false,
+ "baseUrl": ".",
+ "paths": {
+ "*": ["./types/ext/*"]
+ },
+ "types": [
+ "chrome",
+ "firefox-webext-browser",
+ "handlebars",
+ "jszip",
+ "parse5",
+ "wanakana",
+ "zip.js",
+ "dexie",
+ "ajv"
+ ]
},
+ "include": [
+ "ext/**/*.js",
+ "types/ext/**/*.ts",
+ "types/other/globals.d.ts"
+ ],
"exclude": [
"node_modules",
- "**/node_modules/*"
+ "ext/lib"
]
}