From 4da4827bcbcdd1ef163f635d9b29416ff272b0bb Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Mon, 27 Nov 2023 12:48:14 -0500 Subject: Add JSDoc type annotations to project (rebased) --- jsconfig.json | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) (limited to 'jsconfig.json') 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" ] } -- cgit v1.2.3