Jake Bailey
Jake Bailey
Sorry, been busy and forgot about this... > p.s. I tied to find explanation in typescript documentation how the resolution works (in more detail that it is described) and failed....
Another tsc-only method is the one used in: https://github.com/tapjs/foreground-child/pull/52 (Though, both tsup and this method have their downsides.)
Seems like it's working in ESM, thanks. https://arethetypeswrong.github.io/?p=moq.ts%4010.0.6 still shows some issues, namely that you can't import it from CJS anymore. In TS, you get: ``` Module 'moq.ts' cannot be...
@Zzzen I took the liberty of merging main into this to retest it; hope you don't mind. @typescript-bot perf test this
@typescript-bot test this @typescript-bot test top100 @typescript-bot user test this @typescript-bot user test tsserver @typescript-bot test tsserver top100 @typescript-bot run dt
This PR is in TypeScript 5.0, not 4.9 (which was closed to new features after the beta). If you want to use it now, you can try the nightlies, but...
@typescript-bot pack this
I've revived this PR with the approach suggested in https://github.com/microsoft/TypeScript/pull/51136#issuecomment-1284653262, which makes the type match what we get at runtime; see [`e7aed81` (#51136)](https://github.com/microsoft/TypeScript/pull/51136/commits/e7aed81d331f488633f800839e63b26d01fee7d2#diff-0e0991d13cf86798393bd7d724e6f29d04fa468afaa1e30727147992fcbd8b31).
It should probably just say "check the `ts.server.protocol`" namespace, reflecting the suggestion in my PR. Thanks for finding that.
> Meaning ESBuild is replacing `const` and `let` with `var` to improve performance with no way to opt-out. Having read that linked thread, I honestly don't know how esbuild could...