diff --git a/typings/query-helpers.d.ts b/typings/query-helpers.d.ts index b874fac..daabf44 100644 --- a/typings/query-helpers.d.ts +++ b/typings/query-helpers.d.ts @@ -8,13 +8,13 @@ export type SelectorMatcherOptions = Omit & { selector?: string; }; -type ReactTestInstance = { +type ReactTestInstanceExtended = ReactTestInstance & { getProp: (name: string) => NativeTestInstance; parentNode: NativeTestInstance; }; export type NativeTestInstance = Omit< - ReactTestInstance, + ReactTestInstanceExtended, 'findAllByProps' | 'findAllByType' | 'findByProps' | 'findByType' | 'instance' >;