mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
eb218c0f33
Factoring out `dlint` upgrade from https://github.com/denoland/deno/pull/24034 as it requires us to change the lint step on mac to use ARM runners. --------- Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
6 lines
226 B
TypeScript
6 lines
226 B
TypeScript
const data1 = await import("./data.json", { with: { type: "json" } });
|
|
// deno-lint-ignore no-import-assertions
|
|
const data2 = await import("./data.json", { assert: { type: "json" } });
|
|
|
|
console.log(data1);
|
|
console.log(data2);
|