We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4302cdd commit aed35f4Copy full SHA for aed35f4
typings/index.d.ts
@@ -3,7 +3,13 @@ import {queries, BoundFunction} from 'dom-testing-library'
3
export * from 'dom-testing-library'
4
5
interface Query extends Function {
6
- (container: HTMLElement, ...args: any[]): HTMLElement[] | HTMLElement | null
+ (container: HTMLElement, ...args: any[]):
7
+ | Error
8
+ | Promise<HTMLElement[]>
9
+ | Promise<HTMLElement>
10
+ | HTMLElement[]
11
+ | HTMLElement
12
+ | null
13
}
14
15
interface Queries {
0 commit comments