News for hackers. Stuff that matters.
Re:The TypeScript compiler is now implemented internally wit... by cush on Wednesday November 02, 2022 @05:08PM (#33442933)
Where are you seeing this? The PR that this thread is about doesn't have this quirk. Maybe your setup has some issue...?
Re:The TypeScript compiler is now implemented internally wit... by matt_kantor on Thursday November 03, 2022 @08:13AM (#33449841)
Their complaints are unrelated to this specific PR.

See https://www.typescriptlang.org/docs/handbook/esm-node.html for details about how import paths work in CommonJS vs ESM. In both cases the import path you write in your source code is the same import path that is used in the emitted JavaScript. What's different is that NodeJS's ESM implementation doesn't allow extensionless import paths (but its CommonJS implementation does).