From fb1b375a1d4cf826b4fa6dc57b2851e9dac143ed Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 9 May 2022 10:30:34 +0200 Subject: [PATCH] chore: leftovers --- __tests__/mount.ts | 2 +- playground/router.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/mount.ts b/__tests__/mount.ts index 0fbbce14d..fa8888d4a 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 6a9ccadf3..fa13a1b0b 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