Skip to content

Commit e7b375c

Browse files
committed
add onReady in typings
1 parent b5ce47f commit e7b375c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/router.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ declare class VueRouter {
2828
back (): void;
2929
forward (): void;
3030
getMatchedComponents (to?: RawLocation): Component[];
31+
onReady (cb: Function);
3132
addRoutes (routes: RouteConfig[]): void;
3233
resolve (to: RawLocation, current?: Route, append?: boolean): {
3334
location: Location;

0 commit comments

Comments
 (0)