diff --git a/src/index.d.ts b/src/index.d.ts index 354b3c7..0078379 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -104,7 +104,7 @@ type BoundQueries = { [P in keyof T]: Bound } export type NativeTestInstance = Omit export type TextMatch = string | RegExp | ((value: string) => boolean) -export type FilterFn = (value: string, index: number) => boolean +export type FilterFn = (node: NativeTestInstance, index: number) => boolean export type NormalizerFn = (input: string) => string export interface NormalizerOptions {