mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-15 12:12:31 +08:00
Make JSCConfig non-nullable
Reviewed By: andreicoman11 Differential Revision: D3463317 fbshipit-source-id: feeda132cd596317ca45b083d69ae8df3ffbd6f0
This commit is contained in:
committed by
Facebook Github Bot 1
parent
523d39ad92
commit
e54ff3d03f
@@ -8,5 +8,12 @@ import com.facebook.react.bridge.WritableNativeMap;
|
||||
* Interface for the configuration object that is passed to JSC.
|
||||
*/
|
||||
public interface JSCConfig {
|
||||
public WritableNativeMap getConfigMap();
|
||||
JSCConfig EMPTY = new JSCConfig() {
|
||||
@Override
|
||||
public WritableNativeMap getConfigMap() {
|
||||
return new WritableNativeMap();
|
||||
}
|
||||
};
|
||||
|
||||
WritableNativeMap getConfigMap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user