kwhitley / itty-router

A little router.
MIT License
1.71k stars 77 forks source link

Improved TypeScript types & type tests, for better type inference #119

Closed tgriesser closed 1 year ago

tgriesser commented 1 year ago

A scaled down version of #118, only updating the itty-router.d.ts file:

Summary of type changes:

Additional features:

kwhitley commented 1 year ago

I'm in the middle of a massive overhaul, bringing extras into core, with a full rewrite in TS... I need to tease this issue/PR back apart to see how to proceed, but no matter what, I'd like to be able to merge something so you end up on the contributors list :)

I'll let you know if I need it dialed back so we can get your name on the board... stay tuned!

kwhitley commented 1 year ago

Just added this request for help https://github.com/kwhitley/itty-router/issues/122... but you may be a good candidate for saving the day! :)

kwhitley commented 1 year ago

I'm gonna close this for now, as v3 is out (with a complete TS overhaul), but feel free to reopen to discuss further, or hop on Discord (ideally) to continue the conversation there! :)