File tree 4 files changed +40
-0
lines changed
cases/conformance/importDefer
4 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ //// [tests/cases/conformance/importDefer/importDeferComments.ts] ////
2
+
3
+ //// [a.ts]
4
+ export { } ;
5
+
6
+ //// [b.ts]
7
+ /*1*/ import /*2*/ defer /*3*/ * /*4*/ as /*5*/ aNs /*6*/ from /*7*/ "a" /*8*/ ;
8
+
9
+
10
+ //// [a.js]
11
+ export { } ;
12
+ //// [b.js]
13
+ export { } ;
Original file line number Diff line number Diff line change
1
+ //// [tests/cases/conformance/importDefer/importDeferComments.ts] ////
2
+
3
+ === a.ts ===
4
+
5
+ export {};
6
+
7
+ === b.ts ===
8
+ /*1*/ import /*2*/ defer /*3*/ * /*4*/ as /*5*/ aNs /*6*/ from /*7*/ "a" /*8*/;
9
+ >aNs : Symbol(aNs, Decl(b.ts, 0, 24))
10
+
Original file line number Diff line number Diff line change
1
+ //// [tests/cases/conformance/importDefer/importDeferComments.ts] ////
2
+
3
+ === a.ts ===
4
+
5
+ export {};
6
+
7
+ === b.ts ===
8
+ /*1*/ import /*2*/ defer /*3*/ * /*4*/ as /*5*/ aNs /*6*/ from /*7*/ "a" /*8*/;
9
+ >aNs : typeof aNs
10
+ > : ^^^^^^^^^^
11
+
Original file line number Diff line number Diff line change
1
+ // @module : esnext
2
+ // @filename : a.ts
3
+ export { } ;
4
+
5
+ // @filename : b.ts
6
+ /*1*/ import /*2*/ defer /*3*/ * /*4*/ as /*5*/ aNs /*6*/ from /*7*/ "a" /*8*/ ;
You can’t perform that action at this time.
0 commit comments