mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark ReactPackage as NullSafe (#39316)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/39316 Marking ReactPackage as NullSafe as it has proper annotations changelog: [internal] internal Reviewed By: NickGerleman Differential Revision: D48992474 fbshipit-source-id: 850cf260298a0fa71a864731c78444ff01a85d94
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b5d69af3f0
commit
a6708247e1
@@ -8,6 +8,7 @@
|
||||
package com.facebook.react;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import com.facebook.infer.annotation.Nullsafe;
|
||||
import com.facebook.react.bridge.NativeModule;
|
||||
import com.facebook.react.bridge.ReactApplicationContext;
|
||||
import com.facebook.react.uimanager.UIManagerModule;
|
||||
@@ -30,6 +31,7 @@ import java.util.List;
|
||||
*
|
||||
* <p>TODO(6788500, 6788507): Implement support for adding custom views, events and resources
|
||||
*/
|
||||
@Nullsafe(Nullsafe.Mode.LOCAL)
|
||||
public interface ReactPackage {
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user