File tree Expand file tree Collapse file tree 4 files changed +55
-59
lines changed
Expand file tree Collapse file tree 4 files changed +55
-59
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ export declare class NodeRepr {
113113 compareDocumentPosition ( other : NodeRepr ) : number
114114 querySelector ( selectors : string ) : NodeRepr | null
115115 querySelectorAll ( selectors : string ) : Array < NodeRepr >
116- getAttribute ( name : string ) : string | null
117116 hasAttribute ( name : string ) : boolean
118117 getAttributeNS ( namespace : string | undefined | null , localName : string ) : string | null
119118 hasAttributeNS ( namespace : string | undefined | null , localName : string ) : boolean
@@ -153,3 +152,6 @@ export declare class NodeRepr {
153152 get documentPositionImplementationSpecific ( ) : number
154153 cloneNode ( deep ?: boolean | undefined | null ) : NodeRepr
155154}
155+
156+ /** Parse string input to a html tree, return the root node. */
157+ export declare function parse ( html : string ) : NodeRepr
You can’t perform that action at this time.
0 commit comments