Skip to content

Commit 9354dd2

Browse files
elicwhitegaearon
authored andcommitted
Make HostComponent inexact (#17412)
1 parent 4c27037 commit 9354dd2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/react-native-renderer/src/ReactNativeTypes.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ export type NativeMethods = {
119119
};
120120

121121
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>>;
126123

127124
type SecretInternalsType = {
128125
NativeMethodsMixin: NativeMethodsMixinType,

0 commit comments

Comments
 (0)