mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
fix(firebase-x): adjust typings (#3228)
* Update index.ts Added description field to IChannelOptions object and changed vibration type to get a number array * Update index.ts Added description field to IChannelOptions object and changed vibration type to get a number array
This commit is contained in:
parent
48082eeaef
commit
f2961fb4bb
@ -13,6 +13,11 @@ export interface IChannelOptions {
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* Channel description. Default: empty string
|
||||
*/
|
||||
description?: string;
|
||||
|
||||
/**
|
||||
* The sound to play once a push comes. Default value: 'default'
|
||||
* Values allowed:
|
||||
@ -29,7 +34,7 @@ export interface IChannelOptions {
|
||||
* Boolean - vibrate or not
|
||||
* Array - vibration pattern - e.g. [500, 200, 500] - milliseconds vibrate, milliseconds pause, vibrate, pause, etc.
|
||||
*/
|
||||
vibration?: boolean;
|
||||
vibration?: boolean | number[];
|
||||
|
||||
/**
|
||||
* Whether to blink the LED
|
||||
|
Loading…
Reference in New Issue
Block a user