Simon Abbott

Results 52 comments of Simon Abbott

@paulofdaniel you know you can just... close this yourself, right?

No luck so far. I have determined that React 18 has a worse flash than React 17, but even 17 has the issue.

For anyone else looking for this I have a solution that works in TS 4.9. It was adapted from https://gist.github.com/ahuggins-nhs/826906a58e4c1e59306bc0792e7826d1 (which itself was adapted from https://stackoverflow.com/a/55539616/3438793). The key(s) to exclude...

It would be useful, yes! There aren't many use cases for it, but where it's needed it's _really_ useful. I'm using the above code in our codebase, so being able...

I could make up some synthetic examples, but the only realistic use-case I can currently think of is `__typename` (and its siblings like `type` and `kind`) .

After trying this out on more code, I realized that my first draft discards optionality, which isn't ideal. Here is a second version that preserves optionality: ```ts type Primitive =...

Go for it! I'm in no rush for this to be added (we just have that definition in our own codebase for now), I just want to save the 5...