AlexxNB / tinro

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

TypeScript support #17

Closed jnordberg closed 4 years ago

jnordberg commented 4 years ago

Using a tinro Route with let:params in TypeScript results in the following error

Error: Property '$$slot_def' does not exist on type 'unknown'. (ts)
 let:params>
AlexxNB commented 4 years ago

Added some type definitions in v.0.3.0 - should work