You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug description
I see the following error when running svelte-check and get a red squiggly in VScode.
Error: Type 'true' has no properties in common with type 'UrlOptions'. (ts)
$: tabs.forEach((tab, tabIndex) => {
if ($isActive(tab.tabUrl, {}, true)) {
activeTabIndex = tabIndex
hobbitronics
changed the title
routify 2.x $isActive has types from routify 3.x
routify 2.x $isActive helper documentation does not match up with types
Apr 13, 2023
I dug into the code a bit and I think the documentation just needs to be changed to show UrlOptions: {strict: boolean} instead of strict: boolean as a parameter.
bug description
I see the following error when running svelte-check and get a red squiggly in VScode.
package.json
npx svelte-check
version
@roxi/routify": "^2.18.7", "svelte": "^3.49.0", typescript": "^4.7.4", @rollup/plugin-typescript": "^8.3.3", "tslib": "^2.4.0","@tsconfig/svelte": "^2.0.1", @tsconfig/svelte": "^2.0.1", svelte-check": "^2.8.1", etc...
screenshot
The text was updated successfully, but these errors were encountered: