@@ -9,148 +9,148 @@ export type BoundFunction<T> = T extends (
99
1010export type BoundFunctions < Q > = Q extends typeof queries
1111 ? {
12- getByLabelText < T extends Element = Element > (
12+ getByLabelText < T extends HTMLElement = HTMLElement > (
1313 ...args : Parameters < BoundFunction < queries . GetByText < T > > >
1414 ) : ReturnType < queries . GetByText < T > >
15- getAllByLabelText < T extends Element = Element > (
15+ getAllByLabelText < T extends HTMLElement = HTMLElement > (
1616 ...args : Parameters < BoundFunction < queries . AllByText < T > > >
1717 ) : ReturnType < queries . AllByText < T > >
18- queryByLabelText < T extends Element = Element > (
18+ queryByLabelText < T extends HTMLElement = HTMLElement > (
1919 ...args : Parameters < BoundFunction < queries . QueryByText < T > > >
2020 ) : ReturnType < queries . QueryByText < T > >
21- queryAllByLabelText < T extends Element = Element > (
21+ queryAllByLabelText < T extends HTMLElement = HTMLElement > (
2222 ...args : Parameters < BoundFunction < queries . AllByText < T > > >
2323 ) : ReturnType < queries . AllByText < T > >
24- findByLabelText < T extends Element = Element > (
24+ findByLabelText < T extends HTMLElement = HTMLElement > (
2525 ...args : Parameters < BoundFunction < queries . FindByText < T > > >
2626 ) : ReturnType < queries . FindByText < T > >
27- findAllByLabelText < T extends Element = Element > (
27+ findAllByLabelText < T extends HTMLElement = HTMLElement > (
2828 ...args : Parameters < BoundFunction < queries . FindAllByText < T > > >
2929 ) : ReturnType < queries . FindAllByText < T > >
30- getByPlaceholderText < T extends Element = Element > (
30+ getByPlaceholderText < T extends HTMLElement = HTMLElement > (
3131 ...args : Parameters < BoundFunction < queries . GetByBoundAttribute < T > > >
3232 ) : ReturnType < queries . GetByBoundAttribute < T > >
33- getAllByPlaceholderText < T extends Element = Element > (
33+ getAllByPlaceholderText < T extends HTMLElement = HTMLElement > (
3434 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
3535 ) : ReturnType < queries . AllByBoundAttribute < T > >
36- queryByPlaceholderText < T extends Element = Element > (
36+ queryByPlaceholderText < T extends HTMLElement = HTMLElement > (
3737 ...args : Parameters < BoundFunction < queries . QueryByBoundAttribute < T > > >
3838 ) : ReturnType < queries . QueryByBoundAttribute < T > >
39- queryAllByPlaceholderText < T extends Element = Element > (
39+ queryAllByPlaceholderText < T extends HTMLElement = HTMLElement > (
4040 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
4141 ) : ReturnType < queries . AllByBoundAttribute < T > >
42- findByPlaceholderText < T extends Element = Element > (
42+ findByPlaceholderText < T extends HTMLElement = HTMLElement > (
4343 ...args : Parameters < BoundFunction < queries . FindByBoundAttribute < T > > >
4444 ) : ReturnType < queries . FindByBoundAttribute < T > >
45- findAllByPlaceholderText < T extends Element = Element > (
45+ findAllByPlaceholderText < T extends HTMLElement = HTMLElement > (
4646 ...args : Parameters < BoundFunction < queries . FindAllByBoundAttribute < T > > >
4747 ) : ReturnType < queries . FindAllByBoundAttribute < T > >
48- getByText < T extends Element = Element > (
48+ getByText < T extends HTMLElement = HTMLElement > (
4949 ...args : Parameters < BoundFunction < queries . GetByText < T > > >
5050 ) : ReturnType < queries . GetByText < T > >
51- getAllByText < T extends Element = Element > (
51+ getAllByText < T extends HTMLElement = HTMLElement > (
5252 ...args : Parameters < BoundFunction < queries . AllByText < T > > >
5353 ) : ReturnType < queries . AllByText < T > >
54- queryByText < T extends Element = Element > (
54+ queryByText < T extends HTMLElement = HTMLElement > (
5555 ...args : Parameters < BoundFunction < queries . QueryByText < T > > >
5656 ) : ReturnType < queries . QueryByText < T > >
57- queryAllByText < T extends Element = Element > (
57+ queryAllByText < T extends HTMLElement = HTMLElement > (
5858 ...args : Parameters < BoundFunction < queries . AllByText < T > > >
5959 ) : ReturnType < queries . AllByText < T > >
60- findByText < T extends Element = Element > (
60+ findByText < T extends HTMLElement = HTMLElement > (
6161 ...args : Parameters < BoundFunction < queries . FindByText < T > > >
6262 ) : ReturnType < queries . FindByText < T > >
63- findAllByText < T extends Element = Element > (
63+ findAllByText < T extends HTMLElement = HTMLElement > (
6464 ...args : Parameters < BoundFunction < queries . FindAllByText < T > > >
6565 ) : ReturnType < queries . FindAllByText < T > >
66- getByAltText < T extends Element = Element > (
66+ getByAltText < T extends HTMLElement = HTMLElement > (
6767 ...args : Parameters < BoundFunction < queries . GetByBoundAttribute < T > > >
6868 ) : ReturnType < queries . GetByBoundAttribute < T > >
69- getAllByAltText < T extends Element = Element > (
69+ getAllByAltText < T extends HTMLElement = HTMLElement > (
7070 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
7171 ) : ReturnType < queries . AllByBoundAttribute < T > >
72- queryByAltText < T extends Element = Element > (
72+ queryByAltText < T extends HTMLElement = HTMLElement > (
7373 ...args : Parameters < BoundFunction < queries . QueryByBoundAttribute < T > > >
7474 ) : ReturnType < queries . QueryByBoundAttribute < T > >
75- queryAllByAltText < T extends Element = Element > (
75+ queryAllByAltText < T extends HTMLElement = HTMLElement > (
7676 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
7777 ) : ReturnType < queries . AllByBoundAttribute < T > >
78- findByAltText < T extends Element = Element > (
78+ findByAltText < T extends HTMLElement = HTMLElement > (
7979 ...args : Parameters < BoundFunction < queries . FindByBoundAttribute < T > > >
8080 ) : ReturnType < queries . FindByBoundAttribute < T > >
81- findAllByAltText < T extends Element = Element > (
81+ findAllByAltText < T extends HTMLElement = HTMLElement > (
8282 ...args : Parameters < BoundFunction < queries . FindAllByBoundAttribute < T > > >
8383 ) : ReturnType < queries . FindAllByBoundAttribute < T > >
84- getByTitle < T extends Element = Element > (
84+ getByTitle < T extends HTMLElement = HTMLElement > (
8585 ...args : Parameters < BoundFunction < queries . GetByBoundAttribute < T > > >
8686 ) : ReturnType < queries . GetByBoundAttribute < T > >
87- getAllByTitle < T extends Element = Element > (
87+ getAllByTitle < T extends HTMLElement = HTMLElement > (
8888 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
8989 ) : ReturnType < queries . AllByBoundAttribute < T > >
90- queryByTitle < T extends Element = Element > (
90+ queryByTitle < T extends HTMLElement = HTMLElement > (
9191 ...args : Parameters < BoundFunction < queries . QueryByBoundAttribute < T > > >
9292 ) : ReturnType < queries . QueryByBoundAttribute < T > >
93- queryAllByTitle < T extends Element = Element > (
93+ queryAllByTitle < T extends HTMLElement = HTMLElement > (
9494 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
9595 ) : ReturnType < queries . AllByBoundAttribute < T > >
96- findByTitle < T extends Element = Element > (
96+ findByTitle < T extends HTMLElement = HTMLElement > (
9797 ...args : Parameters < BoundFunction < queries . FindByBoundAttribute < T > > >
9898 ) : ReturnType < queries . FindByBoundAttribute < T > >
99- findAllByTitle < T extends Element = Element > (
99+ findAllByTitle < T extends HTMLElement = HTMLElement > (
100100 ...args : Parameters < BoundFunction < queries . FindAllByBoundAttribute < T > > >
101101 ) : ReturnType < queries . FindAllByBoundAttribute < T > >
102- getByDisplayValue < T extends Element = Element > (
102+ getByDisplayValue < T extends HTMLElement = HTMLElement > (
103103 ...args : Parameters < BoundFunction < queries . GetByBoundAttribute < T > > >
104104 ) : ReturnType < queries . GetByBoundAttribute < T > >
105- getAllByDisplayValue < T extends Element = Element > (
105+ getAllByDisplayValue < T extends HTMLElement = HTMLElement > (
106106 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
107107 ) : ReturnType < queries . AllByBoundAttribute < T > >
108- queryByDisplayValue < T extends Element = Element > (
108+ queryByDisplayValue < T extends HTMLElement = HTMLElement > (
109109 ...args : Parameters < BoundFunction < queries . QueryByBoundAttribute < T > > >
110110 ) : ReturnType < queries . QueryByBoundAttribute < T > >
111- queryAllByDisplayValue < T extends Element = Element > (
111+ queryAllByDisplayValue < T extends HTMLElement = HTMLElement > (
112112 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
113113 ) : ReturnType < queries . AllByBoundAttribute < T > >
114- findByDisplayValue < T extends Element = Element > (
114+ findByDisplayValue < T extends HTMLElement = HTMLElement > (
115115 ...args : Parameters < BoundFunction < queries . FindByBoundAttribute < T > > >
116116 ) : ReturnType < queries . FindByBoundAttribute < T > >
117- findAllByDisplayValue < T extends Element = Element > (
117+ findAllByDisplayValue < T extends HTMLElement = HTMLElement > (
118118 ...args : Parameters < BoundFunction < queries . FindAllByBoundAttribute < T > > >
119119 ) : ReturnType < queries . FindAllByBoundAttribute < T > >
120- getByRole < T extends Element = Element > (
120+ getByRole < T extends HTMLElement = HTMLElement > (
121121 ...args : Parameters < BoundFunction < queries . GetByRole < T > > >
122122 ) : ReturnType < queries . GetByRole < T > >
123- getAllByRole < T extends Element = Element > (
123+ getAllByRole < T extends HTMLElement = HTMLElement > (
124124 ...args : Parameters < BoundFunction < queries . AllByRole < T > > >
125125 ) : ReturnType < queries . AllByRole < T > >
126- queryByRole < T extends Element = Element > (
126+ queryByRole < T extends HTMLElement = HTMLElement > (
127127 ...args : Parameters < BoundFunction < queries . QueryByRole < T > > >
128128 ) : ReturnType < queries . QueryByRole < T > >
129- queryAllByRole < T extends Element = Element > (
129+ queryAllByRole < T extends HTMLElement = HTMLElement > (
130130 ...args : Parameters < BoundFunction < queries . AllByRole < T > > >
131131 ) : ReturnType < queries . AllByRole < T > >
132- findByRole < T extends Element = Element > (
132+ findByRole < T extends HTMLElement = HTMLElement > (
133133 ...args : Parameters < BoundFunction < queries . FindByRole < T > > >
134134 ) : ReturnType < queries . FindByRole < T > >
135- findAllByRole < T extends Element = Element > (
135+ findAllByRole < T extends HTMLElement = HTMLElement > (
136136 ...args : Parameters < BoundFunction < queries . FindAllByRole < T > > >
137137 ) : ReturnType < queries . FindAllByRole < T > >
138- getByTestId < T extends Element = Element > (
138+ getByTestId < T extends HTMLElement = HTMLElement > (
139139 ...args : Parameters < BoundFunction < queries . GetByBoundAttribute < T > > >
140140 ) : ReturnType < queries . GetByBoundAttribute < T > >
141- getAllByTestId < T extends Element = Element > (
141+ getAllByTestId < T extends HTMLElement = HTMLElement > (
142142 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
143143 ) : ReturnType < queries . AllByBoundAttribute < T > >
144- queryByTestId < T extends Element = Element > (
144+ queryByTestId < T extends HTMLElement = HTMLElement > (
145145 ...args : Parameters < BoundFunction < queries . QueryByBoundAttribute < T > > >
146146 ) : ReturnType < queries . QueryByBoundAttribute < T > >
147- queryAllByTestId < T extends Element = Element > (
147+ queryAllByTestId < T extends HTMLElement = HTMLElement > (
148148 ...args : Parameters < BoundFunction < queries . AllByBoundAttribute < T > > >
149149 ) : ReturnType < queries . AllByBoundAttribute < T > >
150- findByTestId < T extends Element = Element > (
150+ findByTestId < T extends HTMLElement = HTMLElement > (
151151 ...args : Parameters < BoundFunction < queries . FindByBoundAttribute < T > > >
152152 ) : ReturnType < queries . FindByBoundAttribute < T > >
153- findAllByTestId < T extends Element = Element > (
153+ findAllByTestId < T extends HTMLElement = HTMLElement > (
154154 ...args : Parameters < BoundFunction < queries . FindAllByBoundAttribute < T > > >
155155 ) : ReturnType < queries . FindAllByBoundAttribute < T > >
156156 } & {
0 commit comments