mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Change 'custom' property in 'Data' Interface (#37739)
* change custom property in data to object * property can also be a number
This commit is contained in:
parent
20565740b3
commit
fa7211a481
4
types/node-pushnotifications/index.d.ts
vendored
4
types/node-pushnotifications/index.d.ts
vendored
@ -109,9 +109,7 @@ declare namespace PushNotifications {
|
||||
title: string;
|
||||
/** REQUIRED */
|
||||
body: string;
|
||||
custom?: {
|
||||
sender?: string;
|
||||
};
|
||||
custom?: { [key: string]: string | number } | string;
|
||||
/**
|
||||
* gcm, apn. Supported values are 'high' or 'normal' (gcm). Will be translated to 10 and 5 for apn. Defaults
|
||||
* to 'high'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user