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

Fix typings

parent 804aaa4d
......@@ -37,6 +37,7 @@ declare module "react-native-fcm" {
local_notification?: boolean;
_notificationType: string;
finish(type?: string): void;
[key: string]: any;
}
export interface LocalNotification {
......@@ -59,12 +60,12 @@ declare module "react-native-fcm" {
auto_cancel?: boolean;
group?: string;
picture?: string;
my_custom_data?: string;
ongoing?: boolean;
lights?: boolean;
[key: string]: any;
}
export interface ScheduleLocalNotification extends LocalNotification{
export interface ScheduleLocalNotification extends LocalNotification {
id: string;
fire_date: number;
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