vue/types/plugin.d.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
197 B
TypeScript
Raw Normal View History

import { Vue as _Vue } from './vue'
export type PluginFunction<T> = (Vue: typeof _Vue, options?: T) => void
export interface PluginObject<T> {
install: PluginFunction<T>
[key: string]: any
}