mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
MessageBox: Remove implicit any from .d.ts
This commit is contained in:
parent
c3d996a60d
commit
6a172c758b
4
types/message-box.d.ts
vendored
4
types/message-box.d.ts
vendored
@ -139,10 +139,10 @@ export interface ElMessageBox {
|
||||
prompt: ElMessageBoxShortcutMethod
|
||||
|
||||
/** Set default options of message boxes */
|
||||
setDefaults (defaults: ElMessageBoxOptions)
|
||||
setDefaults (defaults: ElMessageBoxOptions): void
|
||||
|
||||
/** Close current message box */
|
||||
close ()
|
||||
close (): void
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
|
Loading…
Reference in New Issue
Block a user