@@ -103,7 +103,7 @@ Returns the first (starting at element) inclusive ancestor that matches selector
103
103
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/computedStyleMap)
104
104
*/
105
105
@send
106
- external computedStyleMap : element => stylePropertyMapReadOnly = "computedStyleMap"
106
+ external computedStyleMap : T . t => stylePropertyMapReadOnly = "computedStyleMap"
107
107
108
108
/**
109
109
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getAnimations)
@@ -124,7 +124,7 @@ Returns the qualified names of all element's attributes. Can contain duplicates.
124
124
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNames)
125
125
*/
126
126
@send
127
- external getAttributeNames : element => array <string > = "getAttributeNames"
127
+ external getAttributeNames : T . t => array <string > = "getAttributeNames"
128
128
129
129
/**
130
130
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getAttributeNode)
@@ -151,13 +151,13 @@ Returns element's attribute whose namespace is namespace and local name is local
151
151
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getBoundingClientRect)
152
152
*/
153
153
@send
154
- external getBoundingClientRect : element => domRect = "getBoundingClientRect"
154
+ external getBoundingClientRect : T . t => domRect = "getBoundingClientRect"
155
155
156
156
/**
157
157
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getClientRects)
158
158
*/
159
159
@send
160
- external getClientRects : element => domRectList = "getClientRects"
160
+ external getClientRects : T . t => domRectList = "getClientRects"
161
161
162
162
/**
163
163
Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes.
@@ -208,7 +208,7 @@ Returns true if element has attributes, and false otherwise.
208
208
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/hasAttributes)
209
209
*/
210
210
@send
211
- external hasAttributes : element => bool = "hasAttributes"
211
+ external hasAttributes : T . t => bool = "hasAttributes"
212
212
213
213
/**
214
214
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/hasPointerCapture)
@@ -287,7 +287,7 @@ Removes node.
287
287
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/CharacterData/remove)
288
288
*/
289
289
@send
290
- external remove : element => unit = "remove"
290
+ external remove : T . t => unit = "remove"
291
291
292
292
/**
293
293
Removes element's first attribute whose qualified name is qualifiedName.
0 commit comments