Skip to content(if available)orjump to list(if available)

Comptime.ts: compile-time expressions for TypeScript

Thom2000

Interesting. I've never seen the import-with syntax, though and it's hard to find any documentation on it. Is this a syntax extension?

nrabulinski

It’s been introduced as part of ecmascript 2026 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...