File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import * 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 {
1111export function prettyDOM (
1212 dom ?: Element | HTMLDocument ,
1313 maxLength ?: number ,
14- options ?: PrettyFormatOptions ,
14+ options ?: PrettyDOMOptions ,
1515) : string | false
1616export function logDOM (
1717 dom ?: Element | HTMLDocument ,
1818 maxLength ?: number ,
19- options ?: PrettyFormatOptions ,
19+ options ?: PrettyDOMOptions ,
2020) : void
2121export { prettyFormat }
You can’t perform that action at this time.
0 commit comments