MessageBox: fix type definition (#12058)

pull/12074/head
Jikkai Xiao 2018-07-20 00:13:11 +08:00 committed by GitHub
parent f23e45b404
commit eaebce5929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import Vue from 'vue'
import { MessageType } from './message'
export type MessageBoxCloseAction = 'confirm' | 'cancel' | 'close'
export type MessageBoxData = MessageBoxCloseAction | MessageBoxInputData
export type MessageBoxData = MessageBoxInputData
export interface MessageBoxInputData {
value: string,