Skip to content

Commit 3f439ed

Browse files
committed
make DocumentFragment type have the real type name
1 parent 73ca23e commit 3f439ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/pretty-format/src/plugins/dom_element.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type Comment = {
3737
data: string,
3838
nodeType: 8,
3939
};
40-
type Fragment = {
40+
type DocumentFragment = {
4141
children: Array<Element>,
4242
nodeType: 11,
4343
};
@@ -69,7 +69,7 @@ const propsReducer = (props, attribute) => {
6969
};
7070

7171
export const serialize = (
72-
node: Element | Text | Comment | Fragment,
72+
node: Element | Text | Comment | DocumentFragment,
7373
config: Config,
7474
indentation: string,
7575
depth: number,

0 commit comments

Comments
 (0)