Skip to content

Commit 8311c8d

Browse files
authored
fix: Use syntax compatible with older TypeScript versions (#1026)
1 parent 74c63b7 commit 8311c8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/query-helpers.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {waitForOptions} from './wait-for'
33

44
export type WithSuggest = {suggest?: boolean}
55

6-
export type GetErrorFunction<Arguments extends any[] = [alt: string]> = (
6+
export type GetErrorFunction<Arguments extends any[] = [string]> = (
77
c: Element | null,
88
...args: Arguments
99
) => string

0 commit comments

Comments
 (0)