Mark NativeModule.canOverrideExistingModule() as @DeprecatedInNewArchitecture (#39821)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39821

In this diff I'm marking NativeModule.canOverrideExistingModule() as DeprecatedInNewArchitecture.

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico

Differential Revision: D49930341

fbshipit-source-id: 73be0ae68bc03d89d9f475054423b2d54082b84d
This commit is contained in:
David Vacca
2023-10-09 14:28:03 -07:00
committed by Facebook GitHub Bot
parent 06c295c58f
commit 2add5d15e5
@@ -8,6 +8,7 @@
package com.facebook.react.bridge;
import com.facebook.proguard.annotations.DoNotStrip;
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
import javax.annotation.Nonnull;
/**
@@ -45,6 +46,7 @@ public interface NativeModule {
* this method is considered an error and will throw an exception during initialization. By
* default all modules return false.
*/
@DeprecatedInNewArchitecture()
boolean canOverrideExistingModule();
/**