Skip to content

Commit

Permalink
perf: update callback type
Browse files Browse the repository at this point in the history
  • Loading branch information
Scrum committed May 14, 2020
1 parent 4cd9327 commit 3b5ce89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {ComponentOptions, PluginObject, VueConstructor} from 'vue'
import { Route } from 'vue-router';

type CallbackFunction = () => string;
type CallbackFunction = (params: any) => string;

class VueBreadcrumbs implements PluginObject<ComponentOptions<Vue>> {
install(Vue: VueConstructor<Vue>, options = {}) {
Expand Down

0 comments on commit 3b5ce89

Please sign in to comment.