We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ChildNode
1 parent 5693514 commit d7f9a0fCopy full SHA for d7f9a0f
1 file changed
src/node.ts
@@ -21,7 +21,12 @@ interface TagSourceCodeLocation extends SourceCodeLocation {
21
}
22
23
export type ParentNode = Document | Element | CDATA;
24
-export type ChildNode = DataNode | Element | CDATA;
+export type ChildNode =
25
+ | Text
26
+ | Comment
27
+ | ProcessingInstruction
28
+ | Element
29
+ | CDATA;
30
export type AnyNode = ParentNode | ChildNode;
31
32
/**
0 commit comments