mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Introduce InteropLegacyArchitecture annotation (#50906)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50906 Annotation to mark classes or functions that are part of the interop APIs that provide support for legacy architecture APIs in the new architecture of React Native . changelog: [internal] internal Reviewed By: shwanton Differential Revision: D73407613 fbshipit-source-id: 887a14ca4dea891b50e7df01e0ffff5064cd43ea
This commit is contained in:
committed by
Facebook GitHub Bot
parent
01cc16bbfe
commit
a7b0619846
+16
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* 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.common.annotations.internal
|
||||
|
||||
/**
|
||||
* Annotation to mark classes or functions that are part of the interop APIs that provide support
|
||||
* for legacy architecture APIs in the new architecture of React Native.
|
||||
*/
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
|
||||
public annotation class InteropLegacyArchitecture()
|
||||
Reference in New Issue
Block a user