mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Notification.confirm with buttonLabels array
This commit is contained in:
Vendored
+1
@@ -478,6 +478,7 @@ declare var Media: {
|
||||
interface Notification {
|
||||
alert(message: string, alertCallback: Function, title?: string, buttonName?: string): void;
|
||||
confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: string): void;
|
||||
confirm(message: string, confirmCallback: Function, title?: string, buttonLabels?: Array<string>): void;
|
||||
beep(times: number): void;
|
||||
vibrate(milliseconds: number): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user