Skip to content

Commit 4ab14bf

Browse files
committed
refactor: type imports
1 parent 8f35c6d commit 4ab14bf

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/router/src/RouterLink.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
import {
22
defineComponent,
33
h,
4-
PropType,
4+
type PropType,
55
inject,
66
computed,
77
reactive,
88
unref,
9-
VNode,
10-
UnwrapRef,
11-
VNodeProps,
12-
AllowedComponentProps,
13-
ComponentCustomProps,
9+
type VNode,
10+
type UnwrapRef,
11+
type VNodeProps,
12+
type AllowedComponentProps,
13+
type ComponentCustomProps,
1414
getCurrentInstance,
1515
watchEffect,
1616
// this is a workaround for https://github.com/microsoft/rushstack/issues/1050
1717
// this file is meant to be prepended to the generated dist/src/RouterLink.d.ts
1818
// @ts-ignore
19-
ComputedRef,
19+
type ComputedRef,
2020
// @ts-ignore
2121
DefineComponent,
2222
// @ts-ignore
@@ -25,8 +25,8 @@ import {
2525
RendererNode,
2626
// @ts-ignore
2727
ComponentOptionsMixin,
28-
MaybeRef,
29-
AnchorHTMLAttributes,
28+
type MaybeRef,
29+
type AnchorHTMLAttributes,
3030
} from 'vue'
3131
import { isSameRouteLocationParams, isSameRouteRecord } from './location'
3232
import { routerKey, routeLocationKey } from './injectionSymbols'

0 commit comments

Comments
 (0)