tildeio/router.js

[WIP] typescript declarations

Opened this issue · 0 comments

Bnaya commented

I wanted to share that i'm working on basic typescript declarations for that library.
I will be happy for any collaboration and ideas
https://github.com/brandtotal/types_router_js/blob/master/index.d.ts

To install:
yarn/npm https://github.com/brandtotal/types_router_js.git

My first and second impression about the library is that the api is very dynamic and if you want to fully cover it you will not benefit a lot from typescript.

So i'm gonna start with opinionated approach that supports subset of the api, and we'll see where it will take me.

And.. i will be happy to discover that someone have done it already and just didn't publish it to definitely typed yet :DD