Open
Description
TypeScript 5.3 supports import attributes, but when I execute the following code, I don't see anything on my terminal:
import diags from '../examples/dump-1724954858848.json' with {type: 'json'};
console.log(diags.length);
console.log(diags.map(diag => diag.code).join(', '));
TSIMP_DIAG=error node --import=tsimp/import ./src/main.ts
When I use ts-node
instead, printing works fine:
node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/main.ts
Metadata
Metadata
Assignees
Labels
No labels
Activity