mirror of
https://github.com/denoland/deno.git
synced 2024-12-11 18:17:48 -05:00
783533d2e3
Ref #17944, https://github.com/swc-project/swc/issues/8893 TypeScript removes the `assert` keywords in the transpile, so this PR only works for JavaScript files
2 lines
73 B
JavaScript
2 lines
73 B
JavaScript
import foo from "./main.json" assert { type: "json" };
|
|
console.log(foo);
|