Update node-gcm.d.ts

data option in IMessageOptions is optional (see at google cloud messaging documentation)
This commit is contained in:
r-ising
2016-03-03 11:49:58 +01:00
parent 8096d9e065
commit ea1bdfa206
+1 -1
View File
@@ -24,7 +24,7 @@ declare module "node-gcm" {
timeToLive?: number;
restrictedPackageName?: string;
dryRun?: boolean;
data: {
data?: {
[key: string]: string;
};
notification?: INotificationOptions;