Skip to content

Commit 2bd53d7

Browse files
authored
fix: update tsconfig types, run typescheck in test ci workflow (#30)
1 parent ec6b80e commit 2bd53d7

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
cache: npm
1717
- run: npm ci
1818
- run: npm run test
19+
- run: npx tsc

index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"emitDeclarationOnly": true,
1212
// go to js file when using IDE functions like
1313
// "Go to Definition" in VSCode
14-
"declarationMap": true
14+
"declarationMap": true,
15+
"lib": ["ES2015", "DOM"]
1516
}
1617
}

0 commit comments

Comments
 (0)