Rob Palmer

Results 32 comments of Rob Palmer

Agreed. `import()` is not a function. It's more like `typeof` which equally does not support a trailing comma.

@domenic I agree technically we could use either. So it comes down to whether we want *users* to be aware that these APIs are different to those they import from...

Hello @jakebailey The TDZ performance finding quoted here ([the 5% — 9% parser win](https://github.com/microsoft/TypeScript/issues/49332#issuecomment-1251414473)) is being quoted as [one of the reasons to perform TDZ optimisation in ESBuild.](https://github.com/evanw/esbuild/issues/2889#issuecomment-1418240693) Meaning ESBuild...

Is it available now we have Node 10?

The value of enums for me is to surface API misuse by locking down the set of acceptable values in one definition - one source of truth. So defaulting to...

Good find @Jimbly `applySourcemaps` is not an idempotent operation. If encoding the sourcemap twice worked in the past, that was probably just a fortunate accident.

I noticed @std/esm was using keep_infinity which initially sparked my curiosity. https://github.com/standard-things/esm/blob/master/.uglifyrc On 7 Jan 2018 5:38 pm, "João Dias" wrote: > Not that having more options is bad, but...

Agreed - it looks like the bug is due to `sourceRoot` being ignored if it is relative. So an equivalent fix would be: ```diff const candidatePath = join(sourceRoot, sourcePath) if...

I think there's something fishy with the Workbench tool. Even without any promise wrapping, even on TS 5.4, the workbench DTS output pane incorrect states `unknown` despite the hover-completion correctly...

Thanks for the update. It's great that TS can evolve by retiring syntax as well as retiring flags. Given that this leaves the hazard of TS emitting non-ideal (maybe even...