From aa632582a37b3a28538097b77df6652ac48d8dcb Mon Sep 17 00:00:00 2001 From: Mohamed Hegazy Date: Tue, 31 Jul 2018 14:00:25 -0700 Subject: [PATCH] Port generated lib files --- src/lib/dom.generated.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/dom.generated.d.ts b/src/lib/dom.generated.d.ts index cf804947e89..714d1a8d8c9 100644 --- a/src/lib/dom.generated.d.ts +++ b/src/lib/dom.generated.d.ts @@ -3050,7 +3050,7 @@ declare var CharacterData: { new(): CharacterData; }; -interface ChildNode { +interface ChildNode extends Node { /** * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. * Throws a "HierarchyRequestError" DOMException if the constraints of @@ -10215,11 +10215,11 @@ interface Node extends EventTarget { /** * Returns the children. */ - readonly childNodes: NodeListOf; + readonly childNodes: NodeListOf; /** * Returns the first child. */ - readonly firstChild: Node & ChildNode | null; + readonly firstChild: ChildNode | null; /** * Returns true if node is connected and false otherwise. */ @@ -10227,7 +10227,7 @@ interface Node extends EventTarget { /** * Returns the last child. */ - readonly lastChild: Node & ChildNode | null; + readonly lastChild: ChildNode | null; /** * Returns the next sibling. */