Skip to content

Commit 4228537

Browse files
committed
Merge pull request #17 from dashaus/master
add currentScript to Document
2 parents c2d80b2 + 41aca02 commit 4228537

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,6 +2058,7 @@ interface Document extends Node, GlobalEventHandlers, NodeSelector, DocumentEven
20582058
* Gets or sets the version attribute specified in the declaration of an XML document.
20592059
*/
20602060
xmlVersion: string;
2061+
currentScript: HTMLScriptElement;
20612062
adoptNode(source: Node): Node;
20622063
captureEvents(): void;
20632064
clear(): void;

inputfiles/addedTypes.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,5 +219,11 @@
219219
"signatures": [
220220
"vibrate(pattern: number | number[]): boolean"
221221
]
222-
}
222+
},
223+
{
224+
"kind": "property",
225+
"interface": "Document",
226+
"name": "currentScript",
227+
"type": "HTMLScriptElement"
228+
}
223229
]

0 commit comments

Comments
 (0)