mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 03:57:36 +08: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;
|
|
}
|