Skip to content

Commit

Permalink
Add vue router's next type
Browse files Browse the repository at this point in the history
relative issue: vuejs/vue-router#2758
  • Loading branch information
MartinYounghoonKim committed Sep 2, 2019
1 parent eb050e0 commit ee98d09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/@types/library/vue-router.d.ts
@@ -0,0 +1,4 @@
import Vue from "vue";
import { RawLocation } from "vue-router";

export type Next<V extends Vue = Vue> = (to?: RawLocation | false | ((vm: V) => any) | void) => void;

0 comments on commit ee98d09

Please sign in to comment.