Files
tsgo/testdata/baselines/reference/submodule/conformance/importAttributes6(module=node18).js

14 lines
497 B
TypeScript

//// [tests/cases/conformance/importAttributes/importAttributes6.ts] ////
//// [mod.mts]
import * as thing1 from "./mod.mjs" with { field: 0 };
import * as thing2 from "./mod.mjs" with { field: `a` };
import * as thing3 from "./mod.mjs" with { field: /a/g };
import * as thing4 from "./mod.mjs" with { field: ["a"] };
import * as thing5 from "./mod.mjs" with { field: { a: 0 } };
import * as thing6 from "./mod.mjs" with { type: "json", field: 0..toString() };
//// [mod.mjs]
export {};