diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 12:48:14 -0500 |
---|---|---|
committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2023-11-27 12:48:14 -0500 |
commit | 4da4827bcbcdd1ef163f635d9b29416ff272b0bb (patch) | |
tree | a8a0f1a8befdb78a554e1be91f2c6059ca3ad5f9 /jsconfig.json | |
parent | fd6bba8a2a869eaf2b2c1fa49001f933fce3c618 (diff) |
Add JSDoc type annotations to project (rebased)
Diffstat (limited to 'jsconfig.json')
-rw-r--r-- | jsconfig.json | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/jsconfig.json b/jsconfig.json index 390b1624..7d23472f 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -2,10 +2,34 @@ "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" + ] }, + "include": [ + "ext/**/*.js", + "types/ext/**/*.ts", + "types/other/web-set-timeout.d.ts" + ], "exclude": [ "node_modules", - "**/node_modules/*" + "ext/lib" ] } |