From 146ea31eaa48c317223f6b7f31656569b43cc855 Mon Sep 17 00:00:00 2001 From: Simon Robin Date: Thu, 14 May 2020 17:34:47 +0200 Subject: [PATCH] fix(TS): declare first parameter of screen.debug as optional --- types/screen.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/screen.d.ts b/types/screen.d.ts index 906b59ef..2594f5be 100644 --- a/types/screen.d.ts +++ b/types/screen.d.ts @@ -8,7 +8,7 @@ export type Screen = BoundFunctions & { * of elements */ debug: ( - element: Element | HTMLDocument | Array, + element?: Element | HTMLDocument | Array, maxLength?: number, options?: OptionsReceived, ) => void;