Skip to content

Commit

Permalink
Ensure that .d.ts files are checked by tests (#785)
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli authored Dec 15, 2023
1 parent a919f93 commit 00233da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ts-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ jobs:
node-version: lts/*
- run: npm install
- run: npm install typescript@${{ matrix.typescript-version }}
- name: show installed typescript version
run: npm list typescript --depth=0
- run: npx tsc
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"lib": [
"ES2020",
"DOM"
]
],
"skipLibCheck": false, // Ensures .d.ts files are checked: https://github.com/sindresorhus/tsconfig/issues/15
},
"exclude": [
"test-d/**/*"
Expand Down

0 comments on commit 00233da

Please sign in to comment.