修改d.ts中的类名,并添加全局方法的d.ts定义
This commit is contained in:
parent
c703e2b4a4
commit
6d9afa9c19
60 changed files with 216 additions and 212 deletions
4
types/modal.d.ts
vendored
4
types/modal.d.ts
vendored
|
@ -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 {
|
||||
/**
|
||||
* 对话框
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue