Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Fix local/import type declaration conflict #79

Merged
merged 2 commits into from
Nov 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions typings/query-helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export type SelectorMatcherOptions = Omit<MatcherOptions, 'selector'> & {
selector?: string;
};

type ReactTestInstance = {
type ReactTestInstanceExtended = ReactTestInstance & {
getProp: (name: string) => NativeTestInstance;
parentNode: NativeTestInstance;
};

export type NativeTestInstance = Omit<
ReactTestInstance,
ReactTestInstanceExtended,
'findAllByProps' | 'findAllByType' | 'findByProps' | 'findByType' | 'instance'
>;

Expand Down