Commit 70a9394e authored by Daniel Prado's avatar Daniel Prado

Fix typings

parent 804aaa4d
...@@ -37,6 +37,7 @@ declare module "react-native-fcm" { ...@@ -37,6 +37,7 @@ declare module "react-native-fcm" {
local_notification?: boolean; local_notification?: boolean;
_notificationType: string; _notificationType: string;
finish(type?: string): void; finish(type?: string): void;
[key: string]: any;
} }
export interface LocalNotification { export interface LocalNotification {
...@@ -59,12 +60,12 @@ declare module "react-native-fcm" { ...@@ -59,12 +60,12 @@ declare module "react-native-fcm" {
auto_cancel?: boolean; auto_cancel?: boolean;
group?: string; group?: string;
picture?: string; picture?: string;
my_custom_data?: string;
ongoing?: boolean; ongoing?: boolean;
lights?: boolean; lights?: boolean;
[key: string]: any;
} }
export interface ScheduleLocalNotification extends LocalNotification{ export interface ScheduleLocalNotification extends LocalNotification {
id: string; id: string;
fire_date: number; fire_date: number;
repeat_interval?: "week" | "day" | "hour" repeat_interval?: "week" | "day" | "hour"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment