Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed Jul 28, 2024
1 parent 418edcb commit 6f360b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15817,13 +15817,13 @@ interface Node extends EventTarget {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/childNodes)
*/
readonly childNodes: NodeListOf<ChildNode>;
readonly childNodes: NodeListOf<Node & ChildNode>;
/**
* Returns the first child.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/firstChild)
*/
readonly firstChild: ChildNode | null;
readonly firstChild: (Node & ChildNode) | null;
/**
* Returns true if node is connected and false otherwise.
*
Expand All @@ -15835,13 +15835,13 @@ interface Node extends EventTarget {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/lastChild)
*/
readonly lastChild: ChildNode | null;
readonly lastChild: (Node & ChildNode) | null;
/**
* Returns the next sibling.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/nextSibling)
*/
readonly nextSibling: ChildNode | null;
readonly nextSibling: (Node & ChildNode) | null;
/**
* Returns a string appropriate for the type of node.
*
Expand Down Expand Up @@ -15873,13 +15873,13 @@ interface Node extends EventTarget {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/parentNode)
*/
readonly parentNode: ParentNode | null;
readonly parentNode: (Node & ParentNode) | null;
/**
* Returns the previous sibling.
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/previousSibling)
*/
readonly previousSibling: ChildNode | null;
readonly previousSibling: (Node & ChildNode) | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/textContent) */
textContent: string | null;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Node/appendChild) */
Expand Down
12 changes: 6 additions & 6 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -896,25 +896,25 @@
"properties": {
"property": {
"parentNode": {
"overrideType": "ParentNode"
"overrideType": "Node & ParentNode"
},
"parentElement": {
"overrideType": "HTMLElement"
},
"childNodes": {
"overrideType": "NodeListOf<ChildNode>"
"overrideType": "NodeListOf<Node & ChildNode>"
},
"firstChild": {
"overrideType": "ChildNode"
"overrideType": "Node & ChildNode"
},
"lastChild": {
"overrideType": "ChildNode"
"overrideType": "Node & ChildNode"
},
"nextSibling": {
"overrideType": "ChildNode"
"overrideType": "Node & ChildNode"
},
"previousSibling": {
"overrideType": "ChildNode"
"overrideType": "Node & ChildNode"
}
}
}
Expand Down

0 comments on commit 6f360b0

Please sign in to comment.