mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
291 B
TypeScript
20 lines
291 B
TypeScript
//// [tests/cases/conformance/importAttributes/importAttributes8.ts] ////
|
|
|
|
//// [a.ts]
|
|
export default {
|
|
a: "a",
|
|
b: "b",
|
|
}
|
|
|
|
//// [b.ts]
|
|
import a from "./a" with { a: "a", "b": "b" }; // ok
|
|
|
|
|
|
//// [a.js]
|
|
export default {
|
|
a: "a",
|
|
b: "b",
|
|
};
|
|
//// [b.js]
|
|
export {};
|