diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/interfaces/TurboModule.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/interfaces/TurboModule.kt new file mode 100644 index 00000000000000..934fdf04b7dcd1 --- /dev/null +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/interfaces/TurboModule.kt @@ -0,0 +1,19 @@ +/* + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +package com.facebook.react.turbomodule.core.interfaces + +import com.facebook.react.common.annotations.DeprecatedInNewArchitecture + +/** + * This interface was introduced for backward compatibility purposes. This interface will be + * deprecated as part of the deprecation and removal of ReactModuleInfoProvider in the near future. + * + * See description of https://github.com/facebook/react-native/pull/41412 for more context. + */ +@DeprecatedInNewArchitecture +interface TurboModule : com.facebook.react.internal.turbomodule.core.interfaces.TurboModule {}