1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/tests/testdata/import_attributes/static_import.ts
David Sherret 2afbc1aa39
feat: deprecate import assertions (#25281)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-08-29 01:06:09 +00:00

5 lines
151 B
TypeScript

import data1 from "./data.json" with { type: "json" };
import data2 from "./data.json" with { type: "json" };
console.log(data1);
console.log(data2);