mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
381 B
TypeScript
24 lines
381 B
TypeScript
//// [tests/cases/compiler/importAttributesWithValueComments.ts] ////
|
|
|
|
//// [a.ts]
|
|
export default {
|
|
a: "a",
|
|
b: "b",
|
|
1: "1",
|
|
}
|
|
|
|
//// [b.ts]
|
|
import a from "./a" with { a: /* a */ "a", "b": /* b */ "b" };
|
|
a;
|
|
|
|
|
|
//// [a.js]
|
|
export default {
|
|
a: "a",
|
|
b: "b",
|
|
1: "1",
|
|
};
|
|
//// [b.js]
|
|
import a from "./a" with { a: /* a */ "a", "b": /* b */ "b" };
|
|
a;
|