Skip to content

Commit

Permalink
fix: #251
Browse files Browse the repository at this point in the history
  • Loading branch information
taoqf committed Sep 15, 2023
1 parent 6a816da commit 42365de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class HTMLElement{
Node appendChild(Node node)
this insertAdjacentHTML('beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' where, string html)
this setAttribute(string key, string value)
this setAttributes(Record~string, string~ attrs)
this setAttributes(Record string, string attrs)
this removeAttribute(string key)
string getAttribute(string key)
this exchangeChild(Node oldNode, Node newNode)
Expand Down Expand Up @@ -143,7 +143,7 @@ class HTMLElement{
string innerHTML
string outerHTML
string textContent
Record~string, string~ attributes
Record<string, string> attributes
[number, number] range
}
class Node{
Expand Down

0 comments on commit 42365de

Please sign in to comment.