Make HostComponent inexact (#17412)
Eli White committed
Dec 18, 2019 at 10:21 UTC
9354dd2752239b72b3c183c75256a7830d2938c0
1 file changed
+1
-4
packages/react-native-renderer/src/ReactNativeTypes.js
+1
-4
@@ -119,10 +119,7 @@ export type NativeMethods = {
119
};
120
121
export type NativeMethodsMixinType = NativeMethods;
122
-export type HostComponent<T> = AbstractComponent<
123
- T,
124
- $ReadOnly<$Exact<NativeMethods>>,
125
->;
122
+export type HostComponent<T> = AbstractComponent<T, $ReadOnly<NativeMethods>>;
123
124
type SecretInternalsType = {
125
NativeMethodsMixin: NativeMethodsMixinType,