Skip to content

Commit

Permalink
fix: typescript errors in built declaration types (dynamodb-toolbox#319)
Browse files Browse the repository at this point in the history
* fix(dts): Add failing test for dts typescript errors

Uses `tsd` to test the generated declaration files, demonstrating the
issue in dynamodb-toolbox#269.

* fix(dts): Explicitly type the return value of parseEntities

This fixes a circular reference type error in the generated type
declaration files. Fixes dynamodb-toolbox#269
  • Loading branch information
fdintino authored Sep 1, 2022
1 parent 6d20a30 commit 87e0caf
Show file tree
Hide file tree
Showing 7 changed files with 1,325 additions and 17 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
run: npm ci --legacy-peer-deps
- name: Check types
run: npm run check-types
- name: Test types
run: npm run test-types

lint:
name: 'ESLint'
Expand Down
Loading

0 comments on commit 87e0caf

Please sign in to comment.