Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4c58bc9

Browse files
authoredJun 20, 2021
chore: PrettyFormatOptions -> PrettyDOMOptions (#984)
1 parent f78d289 commit 4c58bc9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎types/pretty-dom.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as prettyFormat from 'pretty-format'
22

3-
export interface PrettyFormatOptions extends prettyFormat.OptionsReceived {
3+
export interface PrettyDOMOptions extends prettyFormat.OptionsReceived {
44
/**
55
* Given a `Node` return `false` if you wish to ignore that node in the output.
66
* By default, ignores `<style />`, `<script />` and comment nodes.
@@ -11,11 +11,11 @@ export interface PrettyFormatOptions extends prettyFormat.OptionsReceived {
1111
export function prettyDOM(
1212
dom?: Element | HTMLDocument,
1313
maxLength?: number,
14-
options?: PrettyFormatOptions,
14+
options?: PrettyDOMOptions,
1515
): string | false
1616
export function logDOM(
1717
dom?: Element | HTMLDocument,
1818
maxLength?: number,
19-
options?: PrettyFormatOptions,
19+
options?: PrettyDOMOptions,
2020
): void
2121
export {prettyFormat}

0 commit comments

Comments
 (0)
Please sign in to comment.