From ea1bdfa206e6f43e56f1ba2df9d0d93109f1e5d4 Mon Sep 17 00:00:00 2001 From: r-ising Date: Thu, 3 Mar 2016 11:49:58 +0100 Subject: [PATCH] Update node-gcm.d.ts data option in IMessageOptions is optional (see at google cloud messaging documentation) --- node-gcm/node-gcm.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-gcm/node-gcm.d.ts b/node-gcm/node-gcm.d.ts index 82b3d1957..8a467cfe8 100644 --- a/node-gcm/node-gcm.d.ts +++ b/node-gcm/node-gcm.d.ts @@ -24,7 +24,7 @@ declare module "node-gcm" { timeToLive?: number; restrictedPackageName?: string; dryRun?: boolean; - data: { + data?: { [key: string]: string; }; notification?: INotificationOptions;