From 9808bc045fcb535d40671be9652e7a6e3d07f4d1 Mon Sep 17 00:00:00 2001 From: Darrin Nagengast Date: Fri, 20 Feb 2026 15:05:21 -0600 Subject: [PATCH] fix: update tsconfig types, run typescheck in test ci workflow --- .github/workflows/test.yml | 1 + index.d.ts.map | 2 +- tsconfig.json | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 47da893..3c644ad 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,3 +16,4 @@ jobs: cache: npm - run: npm ci - run: npm run test + - run: npx tsc diff --git a/index.d.ts.map b/index.d.ts.map index d732837..76bbfa7 100644 --- a/index.d.ts.map +++ b/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";;;;;;;IAmBY;;;;;;;;;;MA8FT"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.js"],"names":[],"mappings":";;;;;;;IAoBY;;;;;;;;;;;MAiGT"} \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index f225321..489ffae 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,6 +11,7 @@ "emitDeclarationOnly": true, // go to js file when using IDE functions like // "Go to Definition" in VSCode - "declarationMap": true + "declarationMap": true, + "lib": ["ES2015", "DOM"] } } \ No newline at end of file