Skip to content

Commit

Permalink
fix: Use syntax compatible with older TypeScript versions (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Sep 11, 2021
1 parent 74c63b7 commit 8311c8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/query-helpers.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {waitForOptions} from './wait-for'

export type WithSuggest = {suggest?: boolean}

export type GetErrorFunction<Arguments extends any[] = [alt: string]> = (
export type GetErrorFunction<Arguments extends any[] = [string]> = (
c: Element | null,
...args: Arguments
) => string
Expand Down

0 comments on commit 8311c8d

Please sign in to comment.