diff --git a/typings/matches.d.ts b/typings/matches.d.ts index 1e7c433..791ae77 100644 --- a/typings/matches.d.ts +++ b/typings/matches.d.ts @@ -1,7 +1,7 @@ import { NativeTestInstance } from './query-helpers'; export type MatcherFunction = (content: string, element: HTMLElement) => boolean; -export type Matcher = string | RegExp | MatcherFunction; +export type Matcher = boolean | string | RegExp | MatcherFunction; export type NormalizerFn = (text: string) => string; export type SelectorFn = (element: NativeTestInstance) => boolean;