修改d.ts中的类名,并添加全局方法的d.ts定义

This commit is contained in:
yangd 2018-08-30 16:39:36 +08:00
parent c703e2b4a4
commit 6d9afa9c19
60 changed files with 216 additions and 212 deletions

11
types/spin.d.ts vendored
View file

@ -2,7 +2,7 @@
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from "vue";
import Vue, { VNode } from 'vue';
export declare class Spin extends Vue {
/**
@ -23,4 +23,13 @@ export declare class Spin extends Vue {
*/
'': VNode[];
};
}
declare module 'vue/types/vue' {
interface Vue {
/**
*
*/
$Spin?: Spin;
}
}