1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-30 11:16:38 -05:00
denoland-deno/cli/tests/050_more_jsons.ts

8 lines
193 B
TypeScript
Raw Normal View History

import j1, { $var } from "./subdir/json_1.json";
import j2 from "./subdir/json_2.json";
console.log($var);
console.log($var.a);
console.log(j1);
console.log(j1["with space"]);
console.log(j2);