mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
[onesignal-cordova-plugin] [cordova-plugin-x-socialsharing] Make Cordova plugins compatible with each other
This commit is contained in:
+3
-3
@@ -1,13 +1,13 @@
|
||||
// Type definitions for SocialSharing-PhoneGap-Plugin v5.1.8
|
||||
// Type definitions for SocialSharing-PhoneGap-Plugin v5.1.9
|
||||
// Project: https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin
|
||||
// Definitions by: Markus Wagner <https://github.com/Ritzlgrmft>, Larry Bahr <https://github.com/larrybahr>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface Window {
|
||||
plugins: Plugins;
|
||||
plugins: CordovaPlugins;
|
||||
}
|
||||
|
||||
interface Plugins {
|
||||
interface CordovaPlugins {
|
||||
socialsharing: SocialSharingPlugin.SocialSharing;
|
||||
}
|
||||
|
||||
|
||||
+6
-2
@@ -1,10 +1,14 @@
|
||||
// Type definitions for onesignal-cordova-plugin 2.2
|
||||
// Type definitions for onesignal-cordova-plugin 2.2.1
|
||||
// Project: https://github.com/onesignal/OneSignal-Cordova-SDK#readme
|
||||
// Definitions by: David Broder-Rodgers <https://github.com/broder>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
interface Window {
|
||||
plugins: { OneSignal: OneSignalCordovaPlugin.OneSignalCordovaPlugin };
|
||||
plugins: CordovaPlugins;
|
||||
}
|
||||
|
||||
interface CordovaPlugins {
|
||||
OneSignal: OneSignalCordovaPlugin.OneSignalCordovaPlugin;
|
||||
}
|
||||
|
||||
declare namespace OneSignalCordovaPlugin {
|
||||
|
||||
Reference in New Issue
Block a user