Skip to content

Commit 9dcdf7f

Browse files
committed
Match type of published declarations
1 parent 99952dd commit 9dcdf7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/screen.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ function getPlaygroundUrl(markup: string) {
2020
}
2121

2222
const debug = (
23-
element: (Element | HTMLDocument)[],
23+
element?: Array<Element | HTMLDocument> | Element | HTMLDocument,
2424
maxLength?: number,
2525
options?: OptionsReceived,
26-
) =>
26+
): void =>
2727
Array.isArray(element)
2828
? element.forEach(el => logDOM(el, maxLength, options))
2929
: logDOM(element, maxLength, options)

0 commit comments

Comments
 (0)