Andrew Branch

Results 261 comments of Andrew Branch

I feel confident that _either_ it will not matter at all _or_ that the combined will and know-how of me and @johnnyreilly will be up to the task.

One minor note; internally we’ve been kicking around `hybrid` (resurrected from #29353) as an alternative name for `conventional`, lest anyone read a value judgment into the name, or—perish the thought—conventions...

> ```ts > type TupleMapperOld = { > [Key in keyof Tuple]: Tuple[Key] extends Tuple[number] ? MyMappedType : never; > }; > ``` What was the purpose of this conditional...

I think the upshot of this is that the purpose of the conditional type was to do exactly what #48837 does unconditionally, so it can just be removed. The conditional...

@typescript-bot bisect good v3.8.3 bad v3.9.7

> A new `reference type ...` TS-only syntax to signal that we want to use the definition but not output a module This exists: ```diff - import type MyModel from...

> Who would do that? I'm not writing an API or public library. I think this directive would be a very bad idea in the situation you describe, but this...

The more I think about this, the more I believe it’s not a problem. @KeithHenry, you needed a way to use module types in non-module files, which exists. You replied...

@blixt it sounds like you would benefit from my `--module=none` proposal. As of today, you’d have to do some more intrusive workarounds to get what you want. If you’re currently...