kwhitley / itty-router

A little router.
MIT License
1.79k stars 78 forks source link

Add TypeScript .d.ts to make itty-router type-safe when used in TypeScript projects #7

Closed jahands closed 4 years ago

jahands commented 4 years ago

Would make it easier to work with in TS projects!

kwhitley commented 4 years ago

I think we started it here: https://github.com/kwhitley/itty-router/blob/v1.x/src/itty-router.ts but it's a bit outdated. Will fast track that and make sure it's published appropriately with the next release :)

Of course you're a rockstar [or really any more knowledge than my near-zero] on type definitions, you're welcome to help out! <3

kwhitley commented 4 years ago

I believe this has been addressed!