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 committed Mar 8, 2022
1 parent 9ac5a67 commit bb9eb4e
Show file tree
Hide file tree
Showing 6 changed files with 369 additions and 69 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Expand Up @@ -181,6 +181,7 @@ Glen Whitney <glen@studioinfinity.org>
Divya Yeruva <divyareddy.y019@gmail.com>
Yeruva <Divya.Yeruva@pepsico.com>
Eternal-Rise <my_dawn@ukr.net>
Sam Estep <sam@samestep.com>
yifanwww <yifanw1101@gmail.com>
NattapongSiri <38780353+NattapongSiri@users.noreply.github.com>
Hjortur Jonasson <hjorturjonasson@gmail.com>
Expand Down

0 comments on commit bb9eb4e

Please sign in to comment.