mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Merge pull request #27908 from DefinitelyTyped/phonegap_notification
phonegap: Fix "Notification" conflict with global interface
This commit is contained in:
Vendored
+2
-2
@@ -526,7 +526,7 @@ declare var Media: {
|
||||
new(src: string, onSuccess: (arg: any) => any, onError: (error: any) => any): Media;
|
||||
}
|
||||
|
||||
interface Notification {
|
||||
interface PhonegapNotification {
|
||||
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?: string[]): void;
|
||||
@@ -614,7 +614,7 @@ interface /*PhoneGapNavigator extends*/ Navigator {
|
||||
contacts: Contacts;
|
||||
device: Device;
|
||||
globalization: Globalization;
|
||||
notification: Notification;
|
||||
notification: PhonegapNotification;
|
||||
splashscreen: Splashscreen;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user