mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -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
3 lines
78 B
JavaScript
3 lines
78 B
JavaScript
import json1 from "./json_1.json" with { type: "json" };
|
|
|
|
console.log(json1);
|