From: Eduardo San Martin Morote Date: Mon, 9 May 2022 08:30:34 +0000 (+0200) Subject: chore: leftovers X-Git-Tag: v4.1.0~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e9011da6286679a9fab7e944ac5d784af1e4a8d;p=thirdparty%2Fvuejs%2Frouter.git chore: leftovers --- diff --git a/__tests__/mount.ts b/__tests__/mount.ts index 0fbbce14..fa8888d4 100644 --- a/__tests__/mount.ts +++ b/__tests__/mount.ts @@ -4,7 +4,7 @@ import { routeLocationKey, routerViewLocationKey, } from '../src/injectionSymbols' -import { RouteLocationNormalized } from 'src' +import { RouteLocationNormalized } from '../src' export function createMockedRoute( initialValue: RouteLocationNormalizedLoose | RouteLocationNormalized diff --git a/playground/router.ts b/playground/router.ts index 6a9ccadf..fa13a1b0 100644 --- a/playground/router.ts +++ b/playground/router.ts @@ -176,6 +176,8 @@ export const router = createRouter({ }, }) +// TODO: move to pnpm, workspaces, and use an alias 'vue-router' to be closer to a real project + declare module '../src' { export interface Config { Router: typeof router