Skip to content

Options type missing in prettyDOM function #308

Closed
@thomaslombart

Description

@thomaslombart

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions