mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 22:50:21 +08:00
Static type check for int params + migrate colorInt to just int.
Differential Revision: D2475618 committer: Service User <svcscm@fb.com>
This commit is contained in:
committed by
facebook-github-bot-9
parent
944fa4d635
commit
6c3fb77f30
@@ -32,12 +32,9 @@ public class WritableNativeArray extends ReadableNativeArray implements Writable
|
||||
@Override
|
||||
public native void pushDouble(double value);
|
||||
@Override
|
||||
public native void pushString(String value);
|
||||
|
||||
public native void pushInt(int value);
|
||||
@Override
|
||||
public void pushInt(int value) {
|
||||
pushDouble(value);
|
||||
}
|
||||
public native void pushString(String value);
|
||||
|
||||
// Note: this consumes the map so do not reuse it.
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user