mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 16:52:53 +08:00
refactor
This commit is contained in:
parent
aa4c3b3787
commit
e6b0250d97
@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
|||||||
import { Cordova, Plugin, CordovaInstance, checkAvailability, IonicNativePlugin } from '@ionic-native/core';
|
import { Cordova, Plugin, CordovaInstance, checkAvailability, IonicNativePlugin } from '@ionic-native/core';
|
||||||
import { Observable } from 'rxjs/Observable';
|
import { Observable } from 'rxjs/Observable';
|
||||||
|
|
||||||
declare var window: any;
|
declare const window: any;
|
||||||
|
|
||||||
export type EventResponse = RegistrationEventResponse & NotificationEventResponse & Error;
|
export type EventResponse = RegistrationEventResponse & NotificationEventResponse & Error;
|
||||||
|
|
||||||
@ -196,7 +196,7 @@ export interface BrowserPushOptions {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* URL for the push server you want to use.
|
* URL for the push server you want to use.
|
||||||
* Default: http://push.api.phonegap.com/v1/push Optional.
|
* Default: http://push.api.phonegap.com/v1/push Optional.
|
||||||
*/
|
*/
|
||||||
pushServiceURL?: string;
|
pushServiceURL?: string;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user