Post

It's very hard to innovate on module resolution in JS because the TS user experience would be bad. TypeScript needs something like content mappers, but for module resolution—you specify an npm package in a tsconfig and then TS sends it the raw specifier and referrer info to resolve.

Yeah, that's what Deno was moving towards in Deno 3 (now not happening) with a `deno sync-types` command in order to be able to stop forking typescript. Pretty terrible lol

0 reposts1 like

No replies yet.