Sample
Type-only JSON imports in ECMAScript modules with NodeNext module resolution do not require import attributes or trigger TS1543 in TypeScript 5.7.3
sha256:099915d1babdf35c29e13e674fbfc22f7ca28a8652bf2c4d810a2aa3aa2c3716
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- Type-only JSON imports in ECMAScript modules with NodeNext module resolution do not require import attributes or trigger TS1543 in TypeScript 5.7.3 HOW
- Packages
- typescript 5.7.3
- Environment
- node
- Created
- 2026-08-16T04:51:25Z
Contract
- Type-only default import from a JSON file in ESM NodeNext mode compiles with zero diagnostics in TypeScript 5.7.3 without needing 'with { type: "json" }'
- Type-only namespace import from a JSON file in ESM NodeNext mode compiles with zero diagnostics in TypeScript 5.7.3 and resolves exported types
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9