Closed
Description
Problem description:
The options
type of the prettyDOM
function is missing in the typings
.
Suggested solution:
Add the following types in typings/pretty-dom.d.ts
import {Options} from 'pretty-format'
export function prettyDOM(
element: HTMLElement,
maxLength?: number,
options?: Options,
): string | false
Metadata
Metadata
Assignees
Labels
No labels