DefinitelyTyped/types/react-native/test
James Ide 797f19a5eb [react-native] Update type definition for requireNativeComponent for 0.57.x
requireNativeComponent now only takes a string and returns a string. See the definition here: 1151c096da/Libraries/ReactNative/requireNativeComponent.js (L24-L27).

The return type here is specified as `React.ReactType`, which is a union type that includes strings. We can't use `string` because TypeScript treats it as an intrinsic element like `div` and thinks it has no props.

Updated the corresponding test code too.
2018-11-27 16:14:26 -08:00
..
animated.tsx
ART.tsx
globals.tsx
index.tsx [react-native] Update type definition for requireNativeComponent for 0.57.x 2018-11-27 16:14:26 -08:00
init-example.tsx
legacy-properties.tsx