Skip to content

Commit 1954316

Browse files
committed
Add import.meta.url (defined by HTML)
1 parent 951d1df commit 1954316

File tree

4 files changed

+21
-0
lines changed

4 files changed

+21
-0
lines changed

baselines/dom.generated.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,10 @@ interface ImageEncodeOptions {
594594
type?: string;
595595
}
596596

597+
interface ImportMeta {
598+
url?: string;
599+
}
600+
597601
interface InputEventInit extends UIEventInit {
598602
data?: string | null;
599603
inputType?: string;

baselines/webworker.generated.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ interface ImageEncodeOptions {
243243
type?: string;
244244
}
245245

246+
interface ImportMeta {
247+
url?: string;
248+
}
249+
246250
interface JsonWebKey {
247251
alg?: string;
248252
crv?: string;

inputfiles/addedTypes.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2297,6 +2297,17 @@
22972297
},
22982298
"dictionaries": {
22992299
"dictionary": {
2300+
"ImportMeta": {
2301+
"name": "ImportMeta",
2302+
"members": {
2303+
"member": {
2304+
"url": {
2305+
"name": "url",
2306+
"type": "DOMString"
2307+
}
2308+
}
2309+
}
2310+
},
23002311
"ShadowRootInit": {
23012312
"members": {
23022313
"member": {

inputfiles/knownTypes.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"HmacKeyGenParams",
3838
"IDBKeyPath",
3939
"ImageBitmapRenderingContextSettings",
40+
"ImportMeta",
4041
"InsertPosition",
4142
"KeyFormat",
4243
"KeyType",
@@ -111,6 +112,7 @@
111112
"HmacKeyGenParams",
112113
"IDBArrayKey",
113114
"ImageBitmapRenderingContextSettings",
115+
"ImportMeta",
114116
"MidiPermissionDescriptor",
115117
"NamedCurve",
116118
"Pbkdf2Params",

0 commit comments

Comments
 (0)