Skip to content

Commit

Permalink
Add checks for type declarations (#2448)
Browse files Browse the repository at this point in the history
* Add overloads for Matrix add and subtract

* Add check for types/index.ts

* Fix type errors in types/index.ts

* Fix a couple execution errors

* Run test:types as part of test:all

* Fix remaining errors

* Replace types/index.ts comments with asserts

* Add tests for narrowed type inference

* Add dual-purpose comment at top of types/index.ts

* Update AUTHORS

* Use Glen's alternate test:types suggestion
  • Loading branch information
samestep authored and gwhitney committed Mar 9, 2022
1 parent b713334 commit 7c13b85
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 69 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ Glen Whitney <[email protected]>
Divya Yeruva <[email protected]>
Yeruva <[email protected]>
Eternal-Rise <[email protected]>
Sam Estep <[email protected]>
yifanwww <[email protected]>
NattapongSiri <[email protected]>
Hjortur Jonasson <[email protected]>
Expand Down
Loading

0 comments on commit 7c13b85

Please sign in to comment.