-
-
Notifications
You must be signed in to change notification settings - Fork 13
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.tsWhen I use ts-node instead, printing works fine:
node --no-warnings=ExperimentalWarning --loader ts-node/esm ./src/main.tsMetadata
Metadata
Assignees
Labels
No labels