Devansh Jethmalani
Devansh Jethmalani
> does user-defined types takes precedence? Yes, to make the change non-breaking. > I don't think this will be a big issue I don't see how this is an issue...
Hey @Peeja, I'm not actively working on this PR so I might not be able to reply. Although feel free to keep posting these bugs/anomalies. And thanks for liking the...
@drcmda My pleasure! In that case I'll send a PR implementing `1.a` soon (`2` is okay to be left as it is as I said) @miguel-silva Your concern around key...
Blocked on https://github.com/microsoft/TypeScript/issues/46724, waiting to see if it's a bug. If it is then will wait till it gets fixed, if it's not a bug then will see if we...
We can't do the proposed if `x` has a call expression anywhere in the subtree, or even property accesses because of possibility of effectful getters and proxies. (That is to...
I think the feature is attractive and we can evalute only when `x` is an `IdentifierExpression` (and maybe even `MemberExpression`). Or perhaps develop a heuristic that checks if an expression...
The problem with this PR is that it makes it look as if TypeScript is doing it's best and is correct whereas it can do better. I've opened [an issue...
Okay I don't want to bombard you with such a big PR :P so let's go step by step 1. First I would want you to create a v2 branch...
FWIW: #4891, [rxjs-from-emitter](https://github.com/devanshj/rxjs-from-emitter) (type-safe `fromEvent` not only for DOM but literally any event emitter)
Here's a fourslash test... ```ts /// // @strict: true ////declare const foo: //// (definition: D) => D //// ////type Foo = //// { bar?: //// { [K in keyof Bar]:...