From 0538cba4648010a652b13649681e87145fe588fe Mon Sep 17 00:00:00 2001 From: Theodore Kruczek Date: Tue, 30 Jun 2026 04:05:51 -0600 Subject: [PATCH] chore: add typecheck script and enable strict type checking --- package.json | 1 + tsconfig.json | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e5e6d6c6e4..bf7605f419 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,7 @@ ], "scripts": { "lint": "eslint .", + "typecheck": "tsc --noEmit", "test": "jasmine-browser-runner runSpecs --config=jasmine.json", "build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", "release": "npm run lint && npm run build -- --environment BUILD:release && node compress.mjs", diff --git a/tsconfig.json b/tsconfig.json index 702a550266..fff2470dda 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "module": "ESNext", "moduleResolution": "Bundler", "target": "ES2022", - //"skipLibCheck": true, + "strict": true, + "skipLibCheck": true, //"esModuleInterop": true, //"resolveJsonModule": true, //"sourceMap": true, @@ -17,6 +18,8 @@ "include": [ "src", "src/**/*", + "components", + "components/**/*", "rollup.config.ts" ] } \ No newline at end of file