From 4ab14bf5fa043b250c81cd722be06083ceb0d26d Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Wed, 8 Oct 2025 16:22:17 +0200 Subject: [PATCH] refactor: type imports --- packages/router/src/RouterLink.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/router/src/RouterLink.ts b/packages/router/src/RouterLink.ts index b76d4790..3012faaf 100644 --- a/packages/router/src/RouterLink.ts +++ b/packages/router/src/RouterLink.ts @@ -1,22 +1,22 @@ import { defineComponent, h, - PropType, + type PropType, inject, computed, reactive, unref, - VNode, - UnwrapRef, - VNodeProps, - AllowedComponentProps, - ComponentCustomProps, + type VNode, + type UnwrapRef, + type VNodeProps, + type AllowedComponentProps, + type ComponentCustomProps, getCurrentInstance, watchEffect, // this is a workaround for https://github.com/microsoft/rushstack/issues/1050 // this file is meant to be prepended to the generated dist/src/RouterLink.d.ts // @ts-ignore - ComputedRef, + type ComputedRef, // @ts-ignore DefineComponent, // @ts-ignore @@ -25,8 +25,8 @@ import { RendererNode, // @ts-ignore ComponentOptionsMixin, - MaybeRef, - AnchorHTMLAttributes, + type MaybeRef, + type AnchorHTMLAttributes, } from 'vue' import { isSameRouteLocationParams, isSameRouteRecord } from './location' import { routerKey, routeLocationKey } from './injectionSymbols' -- 2.47.3