mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
dfc64e8a11
Add TypeScript definition Remove unnecessary definition Update definitions * separate files * remove unnecessary `{[key: string]: any}` * from singular to plural Update definitions * Add more definitions * Rename filename and interface * Sort definitions * Fix indent Fix Add test * add test * fix some definitions * fix typo Fix ComputedOptions Update Vue.set Update definitions Add npm script
9 lines
203 B
TypeScript
9 lines
203 B
TypeScript
import { Vue as _Vue } from "./vue.d";
|
|
|
|
export type PluginFunction<T> = (Vue: typeof _Vue, options?: T) => void;
|
|
|
|
export interface PluginObject<T> {
|
|
install: PluginFunction<T>;
|
|
[key: string]: any;
|
|
}
|