6 ms·
Unfortunately file extension removals gets into another weird space, where Typescript (well, `tsc`) won't rewrite your extensions, so if you add them you have t
by rtpg 4y ago
Unfortunately file extension removals gets into another weird space, where Typescript (well, `tsc`) won't rewrite your extensions, so if you add them you have to write "foo.js" even though the source file is "foo.ts" (at least in ES modules).
This gets solved by using some sort of packager, but it's another sort of bit of ugliness that doesn't feel like it's going to get resolved anytime soon.