mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Added data map in 'node-gcm'.
This commit is contained in:
parent
f2f7277262
commit
4549840d33
5
node-gcm/node-gcm.d.ts
vendored
5
node-gcm/node-gcm.d.ts
vendored
@ -10,6 +10,9 @@ declare module "node-gcm" {
|
||||
delayWhileIdle?: boolean;
|
||||
timeToLive?: number;
|
||||
dryRun?: boolean;
|
||||
data: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
|
||||
export class Message {
|
||||
@ -20,7 +23,7 @@ declare module "node-gcm" {
|
||||
dryRun: boolean;
|
||||
|
||||
addData(key: string, value: string): void;
|
||||
addData(data: any): void;
|
||||
addData(data: { [key: string]: string }): void;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user