We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7b02c0 commit 07172daCopy full SHA for 07172da
javascript/extractor/tests/esnext/input/import-assertion.js
@@ -11,3 +11,14 @@ const v6 = import("module", { with: { type: "json" } });
11
12
import "module" // missing semicolon
13
assert({type: "json"}); // function call, not import assertion
14
+
15
+import "module" assert { type: "json" };
16
+import * as v1 from "module" assert { type: "json" };
17
+import { v2 } from "module" assert { type: "json" };
18
+import v3 from "module" assert { type: "json" };
19
20
+export { v4 } from "module" assert { type: "json" };
21
+export * from "module" assert { type: "json" };
22
+export * as v5 from "module" assert { type: "json" };
23
24
+const v6 = import("module", { assert: { type: "json" } });
0 commit comments