Skip to content

Commit

Permalink
fix: export pretty-format from d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosvega91 committed Nov 10, 2020
1 parent 3a0b67d commit 27dc128
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions types/pretty-dom.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import { OptionsReceived } from 'pretty-format';
import * as prettyFormat from 'pretty-format'

export function prettyDOM(dom?: Element | HTMLDocument, maxLength?: number, options?: OptionsReceived): string | false;
export function logDOM(dom?: Element | HTMLDocument, maxLength?: number, options?: OptionsReceived): void;
export function prettyDOM(
dom?: Element | HTMLDocument,
maxLength?: number,
options?: prettyFormat.OptionsReceived,
): string | false
export function logDOM(
dom?: Element | HTMLDocument,
maxLength?: number,
options?: prettyFormat.OptionsReceived,
): void
export {prettyFormat}

0 comments on commit 27dc128

Please sign in to comment.