Skip to content

update vue router type extension to supported approach #35

Description

@spencercap

router.ts

// TODO update this awkward type extension to new well supported appraoch
// https://vuejs.org/api/utility-types.html#componentcustomoptions
/**
import { Route } from 'vue-router'

declare module 'vue' {
interface ComponentCustomOptions {
	beforeRouteEnter?(to: any, from: any, next: () => void): void
    }
}

*/

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions