React Native sync
Reviewed By: sebmarkbage Differential Revision: D5214576 fbshipit-source-id: 41f350ce8961851c7404257df8295d505471d9f4
This commit is contained in:
parent
32a0ee0975
commit
a4947d1778
|
@ -1 +1 @@
|
|||
3630bf3559b72d66437187901fb5eab3f976c6a4
|
||||
a37012a6b5fb5a1c0c19c962737189aeaebe3684
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -95,8 +95,10 @@ var addPoolingTo = function<T>(
|
|||
CopyConstructor: Class<T>,
|
||||
pooler: Pooler,
|
||||
): Class<T> & {
|
||||
getPooled(): /* arguments of the constructor */ T,
|
||||
release(): void,
|
||||
getPooled(
|
||||
...args: $ReadOnlyArray<mixed>
|
||||
): /* arguments of the constructor */ T,
|
||||
release(instance: mixed): void,
|
||||
} {
|
||||
// Casting as any so that flow ignores the actual implementation and trusts
|
||||
// it to match the type we declared
|
||||
|
|
|
@ -71,10 +71,11 @@ type SecretInternalsType = {
|
|||
};
|
||||
|
||||
/**
|
||||
* Flat ReactNative renderer bundles are too big for Flow to parse effeciently.
|
||||
* Provide minimal Flow typing for the high-level RN API and call it a day.
|
||||
*/
|
||||
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
|
||||
* Provide minimal Flow typing for the high-level RN API and call it a day.
|
||||
*/
|
||||
export type ReactNativeType = {
|
||||
NativeComponent: any,
|
||||
findNodeHandle(componentOrHandle: any): ?number,
|
||||
render(
|
||||
element: React.Element<any>,
|
||||
|
|
Loading…
Reference in New Issue