Skip to content

Commit 42365de

Browse files
committed
fix: #251
1 parent 6a816da commit 42365de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class HTMLElement{
115115
Node appendChild(Node node)
116116
this insertAdjacentHTML('beforebegin' | 'afterbegin' | 'beforeend' | 'afterend' where, string html)
117117
this setAttribute(string key, string value)
118-
this setAttributes(Record~string, string~ attrs)
118+
this setAttributes(Record string, string attrs)
119119
this removeAttribute(string key)
120120
string getAttribute(string key)
121121
this exchangeChild(Node oldNode, Node newNode)
@@ -143,7 +143,7 @@ class HTMLElement{
143143
string innerHTML
144144
string outerHTML
145145
string textContent
146-
Record~string, string~ attributes
146+
Record<string, string> attributes
147147
[number, number] range
148148
}
149149
class Node{

0 commit comments

Comments
 (0)