File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as prettyFormat from 'pretty-format'
2
2
3
- export interface PrettyFormatOptions extends prettyFormat . OptionsReceived {
3
+ export interface PrettyDOMOptions extends prettyFormat . OptionsReceived {
4
4
/**
5
5
* Given a `Node` return `false` if you wish to ignore that node in the output.
6
6
* By default, ignores `<style />`, `<script />` and comment nodes.
@@ -11,11 +11,11 @@ export interface PrettyFormatOptions extends prettyFormat.OptionsReceived {
11
11
export function prettyDOM (
12
12
dom ?: Element | HTMLDocument ,
13
13
maxLength ?: number ,
14
- options ?: PrettyFormatOptions ,
14
+ options ?: PrettyDOMOptions ,
15
15
) : string | false
16
16
export function logDOM (
17
17
dom ?: Element | HTMLDocument ,
18
18
maxLength ?: number ,
19
- options ?: PrettyFormatOptions ,
19
+ options ?: PrettyDOMOptions ,
20
20
) : void
21
21
export { prettyFormat }
You can’t perform that action at this time.
0 commit comments