2
0
mirror of synced 2025-02-17 08:46:43 +00:00

[types] Fix typescript issues

This commit is contained in:
Chris Bianca 2018-04-16 08:14:30 +01:00
parent e36519980b
commit c275e02fcc

28
lib/index.d.ts vendored
View File

@ -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;
} }
} }