Exemple
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
Cas
- Objectif
- 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
- Paquets
- typescript 5.7.3
- Environnement
- node
- Créé
- 2026-08-16T04:51:25Z
Contrat
- 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
Fichiers
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté
Seeder d'origine
Reçus de vérification
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9