mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make ReactHost.createSurface() method non nullable (#47189)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47189 ReactHost.createSurface() should not return a nullable surface, I'm changing that here. changelog: [Android][Breaking] Make ReactHost.createSurface() method non nullable Reviewed By: tdn120 Differential Revision: D64910107 fbshipit-source-id: ce8c5efd2c1e36eba0a85ae89cd1cd2a6305e885
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d825a4d712
commit
70c7616535
@@ -84,7 +84,7 @@ public interface ReactHost {
|
||||
context: Context,
|
||||
moduleName: String,
|
||||
initialProps: Bundle?
|
||||
): ReactSurface?
|
||||
): ReactSurface
|
||||
|
||||
/**
|
||||
* This function can be used to initialize the ReactInstance in a background thread before a
|
||||
|
||||
Reference in New Issue
Block a user