Skip to content

Commit 553f9c4

Browse files
author
Orta Therox
authored
Merge pull request #958 from saschanaz/import-meta-url
Add import.meta.url (defined by HTML)
2 parents d1cd8ad + 1954316 commit 553f9c4

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
@@ -2265,6 +2265,17 @@
22652265
},
22662266
"dictionaries": {
22672267
"dictionary": {
2268+
"ImportMeta": {
2269+
"name": "ImportMeta",
2270+
"members": {
2271+
"member": {
2272+
"url": {
2273+
"name": "url",
2274+
"type": "DOMString"
2275+
}
2276+
}
2277+
}
2278+
},
22682279
"ShadowRootInit": {
22692280
"members": {
22702281
"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)