Skip to content

Commit

Permalink
chore(node): stricter types (#900)
Browse files Browse the repository at this point in the history
* chore(node): tidy up types

* test: add better types to testbed

* chore: refresh lockfile

i had to downgrade to npm@7 for this... absolutely cursed

* chore: strict config fixes

* chore: more TS fixes

not sure why VS code didn't flag these the first time 🤔

also i know this is nuts but open to alternatives lol

* chore: use promise.resolve generics

Co-Authored-By: Jon Ursenbach <[email protected]>

* test: add test for undefined webhook

Co-Authored-By: Jon Ursenbach <[email protected]>

* refactor: consolidate type

this is the shit i live for

* chore: slightly reorganize tsconfigs

* revert: var change

* refactor: add'l stronger types

* refactor: another strict type

Co-Authored-By: Bill Mill <[email protected]>

* refactor: consolidate type

Co-Authored-By: Bill Mill <[email protected]>

* refactor: more type passes

Co-Authored-By: Bill Mill <[email protected]>

* chore: better comment

* chore: another stricter type

Co-Authored-By: Aaron Hedges <[email protected]>

* refactor: clientIPAddress is required

* revert: oops didn't mean to commit this

* refactor: stricter typing for headers and method

* chore: comment cleanup in tests

* chore: slightly stricter type

* refactor: uuid type

Co-Authored-By: Gabe Ratcliff <[email protected]>

---------

Co-authored-by: Jon Ursenbach <[email protected]>
Co-authored-by: Bill Mill <[email protected]>
Co-authored-by: Aaron Hedges <[email protected]>
Co-authored-by: Gabe Ratcliff <[email protected]>
  • Loading branch information
5 people authored Aug 16, 2023
1 parent b593069 commit 9c35f38
Show file tree
Hide file tree
Showing 19 changed files with 433 additions and 84 deletions.
162 changes: 159 additions & 3 deletions package-lock.json

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

Loading

0 comments on commit 9c35f38

Please sign in to comment.