From a67d2c5e44b94f27a594448ec61507ccfdb2f8d8 Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Mon, 9 Jun 2025 08:30:20 -0700 Subject: [PATCH] Remove unused LegacyModuleProviderDelegate from TurboModuleManager.h (#51882) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51882 changelog: [internal] Reviewed By: javache Differential Revision: D76159770 fbshipit-source-id: dd64a7bb7c1fa3ded0e293985f5c087ba7d78dff --- .../react/nativemodule/TurboModuleManager.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h b/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h index 7098e513dda..02a598ef3c9 100644 --- a/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h +++ b/packages/react-native/ReactCxxPlatform/react/nativemodule/TurboModuleManager.h @@ -7,8 +7,6 @@ #pragma once -#include "JavaScriptModule.h" - #include #include #include @@ -17,18 +15,10 @@ namespace facebook::react { -class RuntimeScheduler; - using TurboModuleManagerDelegate = std::function( const std::string& name, const std::shared_ptr& jsInvoker)>; using TurboModuleManagerDelegates = std::vector; -using LegacyModuleProviderDelegate = - std::function& jsInvoker, - const std::shared_ptr& runtimeScheduler, - const JavaScriptModuleCallback& javaScriptModuleCallback)>; - } // namespace facebook::react