[types]: adding module for config

This commit is contained in:
Andrew Crites 2018-06-22 11:56:28 -04:00
parent 1d91cad542
commit 12af6f39f3
No known key found for this signature in database
GPG Key ID: B6AFFDD883E2E527
1 changed files with 5 additions and 0 deletions

5
src/index.d.ts vendored
View File

@ -2462,6 +2462,11 @@ declare module 'react-native-firebase/notifications' {
export type IOSAttachmentOptions = RNFirebase.notifications.IOSAttachmentOptions;
}
declare module 'react-native-firebase/config' {
import { RNFirebase } from 'react-native-firebase';
export type ConfigSnapshot = RNFirebase.config.ConfigSnapshot;
export type Config = RNFirebase.config.Config;
}
declare module 'react-native-firebase/crashlytics' {
import { RNFirebase } from 'react-native-firebase';