修改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

4
types/modal.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 Modal {
/**
@ -208,7 +208,7 @@ export declare class ModalConfig {
onCancel?: () => void;
}
declare module "vue/types/vue" {
declare module 'vue/types/vue' {
interface Vue {
/**
*