Petra Jaros

Results 76 comments of Petra Jaros

We would find it extremely useful to type check props on intrinsics. That appears to be what the issue title is about, but not what @mwalkerwells's clarification points to, unless...

Also, it would be extra nice to have, for instance, ``'s `onClick` prop automatically typed as `(SyntheticEvent) => void`. We've passed handlers expecting to be attached to the wrong kind...

Not trying to be naggy, just honestly a bit lost in the above: where does that leave this? Can we get LCOV reports today? Or does this just mean it's...

I'd like to have this, too. Having dug into the code, it looks like this is mostly an intentional design decision. I'm interested in revisiting that, if it is. That...

Just making sure I'm following: This means there's currently no way to take a JSON document (such as an API response) in which an integer value is written as a...

@devanshj I love this proposal so much. Playing with it a bit locally, I seem to have hit a gap in the implementation. It looks like `Never` doesn't handle object...

Another interesting hiccup: ```ts // By normal `extends` semantics, the LHS of `extends` can have more properties than the RHS: type NormalExtends = { a: 1; b: 2; } extends...

Copying [the answer](https://github.com/typescript-eslint/typescript-eslint/pull/6762#issuecomment-1680765475) from @Josh-Cena here for completeness: 😀 > That PR changes the quick info of the write type so it excludes undefined (and the programmatic API always excludes...

I'm having the same issue, and `m-ld` in general has run into this. `m-ld` currently has [its own fork](https://github.com/m-ld/jsonld.js) of `jsonld.js` to solve this, but it's obviously not super well...

@dlongley It's not TypeScript or Jest, though, it's Node. ESM support in Node is still experimental. I agree that solving the underlying issue is more effective, but I'm not sure...