how can i access the params of the vue router within a typescript vue class?
See the screenshot attached, typescript complains.. are there some types i need to install?
The only way i can seem to get this working is to: 1 - import the router as illustrated in the image 2 - access the params via string literals:
router['history'].current.params.hash
But this breaks the linter
object access via string literals is disallowed
And rightly so, i don't want to remove this rule.
