mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
14 lines
497 B
TypeScript
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 {};
|