AlexxNB / tinro

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

Typescript error with using exact on active classes on anchor element #96

Closed saikatdas0790 closed 2 years ago

saikatdas0790 commented 2 years ago

When I use the active action with the exact keyword on anchor tags in a Svelte + Typescript project, I get the following error. Is there a way to resolve the type error? image

AlexxNB commented 2 years ago

try data-exact attribute

saikatdas0790 commented 2 years ago

data-exact makes the error go away. Should we update the docs?

AlexxNB commented 2 years ago

data-* attributes for links are documented already: изображение