mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
fix(types,analytics): logEvent types for #3219
This commit is contained in:
5
packages/analytics/lib/index.d.ts
vendored
5
packages/analytics/lib/index.d.ts
vendored
@@ -670,10 +670,7 @@ export namespace FirebaseAnalyticsTypes {
|
||||
* @param name Event name must not conflict with any Reserved Events.
|
||||
* @param params Parameters to be sent and displayed with the event.
|
||||
*/
|
||||
logEvent(
|
||||
name: string,
|
||||
params?: { [key: string]: string | number | boolean },
|
||||
): Promise<void>;
|
||||
logEvent(name: string, params?: { [key: string]: any }): Promise<void>;
|
||||
|
||||
/**
|
||||
* If true, allows the device to collect analytical data and send it to
|
||||
|
||||
Reference in New Issue
Block a user