Skip to content

Commit d3edd63

Browse files
committed
refactor: code format
1 parent 1c8e802 commit d3edd63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: types/router.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import Vue, { ComponentOptions, PluginFunction, AsyncComponent } from 'vue'
22

33
type Component = ComponentOptions<Vue> | typeof Vue | AsyncComponent
4-
type Dictionary < T > = { [key: string]: T }
4+
type Dictionary<T> = { [key: string]: T }
55
type ErrorHandler = (err: Error) => void
66

77
export type RouterMode = 'hash' | 'history' | 'abstract'
88
export type RawLocation = string | Location
99
export type RedirectOption = RawLocation | ((to: Route) => RawLocation)
10-
export type NavigationGuard < V extends Vue = Vue > = (
10+
export type NavigationGuard<V extends Vue = Vue> = (
1111
to: Route,
1212
from: Route,
1313
next: (to?: RawLocation | false | ((vm: V) => any) | void) => void

0 commit comments

Comments
 (0)