Skip to content

Commit

Permalink
make DocumentFragment type have the real type name
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jul 17, 2018
1 parent 73ca23e commit 3f439ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/pretty-format/src/plugins/dom_element.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Comment = {
data: string,
nodeType: 8,
};
type Fragment = {
type DocumentFragment = {
children: Array<Element>,
nodeType: 11,
};
Expand Down Expand Up @@ -69,7 +69,7 @@ const propsReducer = (props, attribute) => {
};

export const serialize = (
node: Element | Text | Comment | Fragment,
node: Element | Text | Comment | DocumentFragment,
config: Config,
indentation: string,
depth: number,
Expand Down

0 comments on commit 3f439ed

Please sign in to comment.