mirror of
https://github.com/jpush/jpush-phonegap-plugin.git
synced 2025-01-19 13:52:49 +08:00
Fix params type error
This commit is contained in:
parent
a0c828a296
commit
509184328d
2
ionic/jpush/index.d.ts
vendored
2
ionic/jpush/index.d.ts
vendored
@ -44,7 +44,7 @@ export declare class JPush extends IonicNativePlugin {
|
||||
resetBadge(): Promise<any>;
|
||||
setApplicationIconBadgeNumber(badge: number): Promise<any>;
|
||||
getApplicationIconBadgeNumber(): Promise<any>;
|
||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, notificationId: number, extras?: string): Promise<any>;
|
||||
addLocalNotificationForIOS(delayTime: number, content: string, badge: number, identifierKey: string, extras?: string): Promise<any>;
|
||||
deleteLocalNotificationWithIdentifierKeyInIOS(identifierKey: string): Promise<any>;
|
||||
addDismissActions(actions: Array<object>, categoryId: string): Promise<any>;
|
||||
addNotificationActions(actions: Array<object>, categoryId: string): Promise<any>;
|
||||
|
@ -61,7 +61,7 @@ var JPush = (function (_super) {
|
||||
JPush.prototype.resetBadge = function () { return; };
|
||||
JPush.prototype.setApplicationIconBadgeNumber = function (badge) { return; };
|
||||
JPush.prototype.getApplicationIconBadgeNumber = function () { return; };
|
||||
JPush.prototype.addLocalNotificationForIOS = function (delayTime, content, badge, notificationId, extras) { return; };
|
||||
JPush.prototype.addLocalNotificationForIOS = function (delayTime, content, badge, identifierKey, extras) { return; };
|
||||
JPush.prototype.deleteLocalNotificationWithIdentifierKeyInIOS = function (identifierKey) { return; };
|
||||
JPush.prototype.addDismissActions = function (actions, categoryId) { return; };
|
||||
JPush.prototype.addNotificationActions = function (actions, categoryId) { return; };
|
||||
@ -218,7 +218,7 @@ var JPush = (function (_super) {
|
||||
__decorate([
|
||||
Cordova(),
|
||||
__metadata("design:type", Function),
|
||||
__metadata("design:paramtypes", [Number, String, Number, Number, String]),
|
||||
__metadata("design:paramtypes", [Number, String, Number, String, String]),
|
||||
__metadata("design:returntype", Promise)
|
||||
], JPush.prototype, "addLocalNotificationForIOS", null);
|
||||
__decorate([
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jiguang-ionic/jpush",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "JPush support for ionic-native",
|
||||
"module": "index.js",
|
||||
"typings": "index.d.ts",
|
||||
|
Loading…
Reference in New Issue
Block a user