Skip to content

Commit

Permalink
[types] Fix typescript issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbianca committed Apr 16, 2018
1 parent e365199 commit c275e02
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ declare module "react-native-firebase" {
}

interface MessagingStatics {
RemoteMessage: RemoteMessage;
RemoteMessage: typeof RemoteMessage;
}
}

Expand Down Expand Up @@ -1298,20 +1298,20 @@ declare module "react-native-firebase" {

interface NotificationsStatics {
Android: {
Action: Android.Action,
BadgeIconType: Android.BadgeIconType,
Action: typeof Android.Action,
BadgeIconType: typeof Android.BadgeIconType,
Category: Android.Category,
Channel: Android.Channel,
ChannelGroup: Android.ChannelGroup,
Defaults: Android.Defaults,
GroupAlert: Android.GroupAlert,
Importance: Android.Importance,
Priority: Android.Priority,
RemoteInput: Android.RemoteInput,
SemanticAction: Android.SemanticAction,
Visibility: Android.Visibility,
Channel: typeof Android.Channel,
ChannelGroup: typeof Android.ChannelGroup,
Defaults: typeof Android.Defaults,
GroupAlert: typeof Android.GroupAlert,
Importance: typeof Android.Importance,
Priority: typeof Android.Priority,
RemoteInput: typeof Android.RemoteInput,
SemanticAction: typeof Android.SemanticAction,
Visibility: typeof Android.Visibility,
};
Notification: Notification;
Notification: typeof Notification;
}
}

Expand Down Expand Up @@ -1456,7 +1456,7 @@ declare module "react-native-firebase" {
}

interface LinksStatics {
DynamicLink: DynamicLink;
DynamicLink: typeof DynamicLink;
}
}

Expand Down

0 comments on commit c275e02

Please sign in to comment.