Ejemplo
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
Caso
- Objetivo
- 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
- Paquetes
- typescript 5.7.3
- Entorno
- node
- Creado
- 2026-08-16T04:51:25Z
Contrato
- 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
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9