8
8
>URL : Symbol(URL, Decl(lib.dom.d.ts, --, --), Decl(lib.dom.d.ts, --, --))
9
9
>import.meta.url : Symbol(ImportMeta.url, Decl(lib.dom.d.ts, --, --))
10
10
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
11
+ >meta : Symbol(ImportMetaExpression.meta)
11
12
>url : Symbol(ImportMeta.url, Decl(lib.dom.d.ts, --, --))
12
13
>toString : Symbol(URL.toString, Decl(lib.dom.d.ts, --, --))
13
14
20
21
const size = import.meta.scriptElement.dataset.size || 300;
21
22
>size : Symbol(size, Decl(example.ts, 5, 7))
22
23
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
24
+ >meta : Symbol(ImportMetaExpression.meta)
23
25
24
26
const image = new Image();
25
27
>image : Symbol(image, Decl(example.ts, 7, 7))
57
59
export let x = import.meta;
58
60
>x : Symbol(x, Decl(moduleLookingFile01.ts, 0, 10))
59
61
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
62
+ >meta : Symbol(ImportMetaExpression.meta)
60
63
61
64
export let y = import.metal;
62
65
>y : Symbol(y, Decl(moduleLookingFile01.ts, 1, 10))
@@ -68,6 +71,7 @@ export let z = import.import.import.malkovich;
68
71
let globalA = import.meta;
69
72
>globalA : Symbol(globalA, Decl(scriptLookingFile01.ts, 0, 3))
70
73
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
74
+ >meta : Symbol(ImportMetaExpression.meta)
71
75
72
76
let globalB = import.metal;
73
77
>globalB : Symbol(globalB, Decl(scriptLookingFile01.ts, 1, 3))
@@ -80,11 +84,15 @@ export const foo: ImportMeta = import.meta.blah = import.meta.blue = import.meta
80
84
>foo : Symbol(foo, Decl(assignmentTargets.ts, 0, 12))
81
85
>ImportMeta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
82
86
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
87
+ >meta : Symbol(ImportMetaExpression.meta)
83
88
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
89
+ >meta : Symbol(ImportMetaExpression.meta)
84
90
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
91
+ >meta : Symbol(ImportMetaExpression.meta)
85
92
86
93
import.meta = foo;
87
94
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
95
+ >meta : Symbol(ImportMetaExpression.meta)
88
96
>foo : Symbol(foo, Decl(assignmentTargets.ts, 0, 12))
89
97
90
98
// @Filename augmentations.ts
@@ -108,5 +116,6 @@ const { a, b, c } = import.meta.wellKnownProperty;
108
116
>c : Symbol(c, Decl(assignmentTargets.ts, 10, 13))
109
117
>import.meta.wellKnownProperty : Symbol(ImportMeta.wellKnownProperty, Decl(assignmentTargets.ts, 5, 24))
110
118
>import.meta : Symbol(ImportMeta, Decl(lib.es5.d.ts, --, --), Decl(lib.dom.d.ts, --, --), Decl(assignmentTargets.ts, 4, 16))
119
+ >meta : Symbol(ImportMetaExpression.meta)
111
120
>wellKnownProperty : Symbol(ImportMeta.wellKnownProperty, Decl(assignmentTargets.ts, 5, 24))
112
121
0 commit comments