blob: 3cc900d641d0ac8083701bdf0848ef54aab69320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
⚠️ Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.
import test from "./data.json" assert { type: "json" };
at file:///[WILDLINE]/assertion.ts:1:1
{ prop: "data" }
⚠️ Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.
console.log((await import("./data.json", {
at file:///[WILDLINE]/assertion.ts:5:13
{ prop: "data" }
|