AlexxNB / tinro

Highly declarative, tiny, dependency free router for Svelte's web applications.
MIT License
669 stars 30 forks source link

Rewrite in Typescript #69

Closed ghost closed 3 years ago

ghost commented 3 years ago

So, tinro is written in javascript. Can it be completely rewritten in Typescript so that we get benefits of Typescript ?

while having types guarantee that external typescript applications working with this library will have types, rewriting this library in typescript guarantees that there will be less bugs if any do exist.

I hope this will happen.

Thanks in advance.

AlexxNB commented 3 years ago

Transpiled code has a bigger value than JS one. I never use Typescript for small libs.