We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08fc868 commit 8c7822eCopy full SHA for 8c7822e
2 files changed
test/fixtures/json/index.ts
@@ -1,6 +1,6 @@
1
import imported from "./file.json";
2
3
-import importedWithAssertion from "./file.json" assert { type: "json" };
+import importedWithAssertion from "./file.json" with { type: "json" };
4
5
const required = require("./file.json");
6
tsconfig.json
@@ -3,7 +3,6 @@
"target": "ESNext",
"module": "Preserve",
"resolveJsonModule": true,
- "esModuleInterop": false,
7
"allowSyntheticDefaultImports": true,
8
"skipLibCheck": true,
9
"allowJs": true,
0 commit comments