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:
Niels 2019-08-19 20:19:11 +02:00 committed by Sheetal Nandi
parent 20565740b3
commit fa7211a481

View File

@ -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'