Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/test-types.yml
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiny clean up based on .github/workflows/test-unit.yml

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test (types)
name: Tests (types)

on:
pull_request:
Expand All @@ -25,5 +25,6 @@ jobs:
- name: Install dependencies
run: |
npm ci --ignore-scripts
- name: Check typings
run: npm run test:types
- name: Type tests
run: |
npm run test:types
8 changes: 0 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
"@biomejs/biome": "^2.0.0",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"@tsconfig/node22": "^22.0.0",
"aws-sdk-client-mock": "^4.0.0",
"fast-check": "^4.0.0",
"husky": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/index.tst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,5 +349,5 @@ test("lambdaContext", () => {

test("httpErrorCodes", () => {
expect(util.httpErrorCodes).type.toBe<Record<number, string>>();
expect(util.httpErrorCodes[404]).type.toBe<string>();
expect(util.httpErrorCodes[404]).type.toBe<string | undefined>();
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Differently from @tsconfig/node22, TSTyche sets "noUncheckedIndexedAccess": true by default. This is the only change detected.

});
3 changes: 0 additions & 3 deletions tsconfig.json

This file was deleted.

4 changes: 0 additions & 4 deletions tstyche.config.json

This file was deleted.

Loading