Files
react-native-firebase/tests/type-test.js.flow
2019-02-01 10:37:48 +00:00

14 lines
387 B
Plaintext

import firebase from 'react-native-firebase';
import analytics from '@react-native-firebase/analytics';
import functions, { firebase as foo } from '@react-native-firebase/functions';
firebase.app;
analytics.SDK_VERSION;
functions.SDK_VERSION;
const httpsCallable = firebase.functions(firebase.app()).httpsCallable('foo');
httpsCallable({ foo: 1 }).then(result => {
result.data;
});