From 60b1182edb0e98f10a8f8482c8a337380cb1d5d9 Mon Sep 17 00:00:00 2001 From: Phillip Pan Date: Tue, 19 Dec 2023 17:20:24 -0800 Subject: [PATCH] clean up unused methods from NativeBugReporting (#41984) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41984 Changelog: [Internal] this is unused anywhere, delete. for some reason we only have the spec file in oss but no native implementation Reviewed By: christophpurrer Differential Revision: D51968870 fbshipit-source-id: a4931d08c50954bfa557451e5e4d79a10dfeaefe --- .../react-native/Libraries/BugReporting/NativeBugReporting.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-native/Libraries/BugReporting/NativeBugReporting.js b/packages/react-native/Libraries/BugReporting/NativeBugReporting.js index f886208de3d..6cd436f685a 100644 --- a/packages/react-native/Libraries/BugReporting/NativeBugReporting.js +++ b/packages/react-native/Libraries/BugReporting/NativeBugReporting.js @@ -15,7 +15,6 @@ import * as TurboModuleRegistry from '../TurboModule/TurboModuleRegistry'; export interface Spec extends TurboModule { +startReportAProblemFlow: () => void; +setExtraData: (extraData: Object, extraFiles: Object) => void; - +setCategoryID: (categoryID: string) => void; } export default (TurboModuleRegistry.get('BugReporting'): ?Spec);