Ok so sometimes you need typescript for your hooks.

And then basically you need to type every single method in the hook.

You have to do bindings in mounted so that you could use the functions in callbacks and so fortt.

It becomes really tiring and verbose really quickly.

Solution?

continue reading on dev.to

⚠️ This post links to an external website. ⚠️