From b1411184967b8cecf9aa8e519a7df2fd43302248 Mon Sep 17 00:00:00 2001 From: Ruben Rebelo <39693995+ruben-rebelo@users.noreply.github.com> Date: Wed, 7 Feb 2024 08:40:26 +0000 Subject: [PATCH] [TS migration][crashlytics] Update __mocks__/@react-native-firebase/crashlytics.ts Co-authored-by: Abdelhafidh Belalia <16493223+s77rt@users.noreply.github.com> --- __mocks__/@react-native-firebase/crashlytics.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/__mocks__/@react-native-firebase/crashlytics.ts b/__mocks__/@react-native-firebase/crashlytics.ts index 66bd841d5259..2df845ba0c69 100644 --- a/__mocks__/@react-native-firebase/crashlytics.ts +++ b/__mocks__/@react-native-firebase/crashlytics.ts @@ -1,10 +1,6 @@ import type {FirebaseCrashlyticsTypes} from '@react-native-firebase/crashlytics'; -type CrashlyticsModule = { - log: FirebaseCrashlyticsTypes.Module['log']; - recordError: FirebaseCrashlyticsTypes.Module['recordError']; - setCrashlyticsCollectionEnabled: FirebaseCrashlyticsTypes.Module['setCrashlyticsCollectionEnabled']; -}; +type CrashlyticsModule = Pick; type CrashlyticsMock = () => CrashlyticsModule;