[types] Fix typescript issues
This commit is contained in:
parent
e36519980b
commit
c275e02fcc
28
lib/index.d.ts
vendored
28
lib/index.d.ts
vendored
@ -944,7 +944,7 @@ declare module "react-native-firebase" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface MessagingStatics {
|
interface MessagingStatics {
|
||||||
RemoteMessage: RemoteMessage;
|
RemoteMessage: typeof RemoteMessage;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1298,20 +1298,20 @@ declare module "react-native-firebase" {
|
|||||||
|
|
||||||
interface NotificationsStatics {
|
interface NotificationsStatics {
|
||||||
Android: {
|
Android: {
|
||||||
Action: Android.Action,
|
Action: typeof Android.Action,
|
||||||
BadgeIconType: Android.BadgeIconType,
|
BadgeIconType: typeof Android.BadgeIconType,
|
||||||
Category: Android.Category,
|
Category: Android.Category,
|
||||||
Channel: Android.Channel,
|
Channel: typeof Android.Channel,
|
||||||
ChannelGroup: Android.ChannelGroup,
|
ChannelGroup: typeof Android.ChannelGroup,
|
||||||
Defaults: Android.Defaults,
|
Defaults: typeof Android.Defaults,
|
||||||
GroupAlert: Android.GroupAlert,
|
GroupAlert: typeof Android.GroupAlert,
|
||||||
Importance: Android.Importance,
|
Importance: typeof Android.Importance,
|
||||||
Priority: Android.Priority,
|
Priority: typeof Android.Priority,
|
||||||
RemoteInput: Android.RemoteInput,
|
RemoteInput: typeof Android.RemoteInput,
|
||||||
SemanticAction: Android.SemanticAction,
|
SemanticAction: typeof Android.SemanticAction,
|
||||||
Visibility: Android.Visibility,
|
Visibility: typeof Android.Visibility,
|
||||||
};
|
};
|
||||||
Notification: Notification;
|
Notification: typeof Notification;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1456,7 +1456,7 @@ declare module "react-native-firebase" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface LinksStatics {
|
interface LinksStatics {
|
||||||
DynamicLink: DynamicLink;
|
DynamicLink: typeof DynamicLink;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user