Skip to content

Commit dcad11b

Browse files
authored
fix(TS): declare first parameter of screen.debug as optional (#573)
1 parent eb4e0d7 commit dcad11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/screen.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export type Screen<Q extends Queries = typeof queries> = BoundFunctions<Q> & {
88
* of elements
99
*/
1010
debug: (
11-
element: Element | HTMLDocument | Array<Element | HTMLDocument>,
11+
element?: Element | HTMLDocument | Array<Element | HTMLDocument>,
1212
maxLength?: number,
1313
options?: OptionsReceived,
1414
) => void;

0 commit comments

Comments
 (0)