type-fest icon indicating copy to clipboard operation
type-fest copied to clipboard

Add `PickFromPossiblyUndefined` type

Open Proxxx23 opened this issue 1 year ago • 7 comments

I've stumbled upon a problem with Picking from a type that may be undefined. That's why I've decided to make my own type (its name may be changed ofc) and also add it to this fantastic library as a contribution :)

Proxxx23 avatar Oct 11 '23 19:10 Proxxx23

Please read the contributing guidelines before submitting contribution.

Emiyaaaaa avatar Oct 18 '23 11:10 Emiyaaaaa

@Emiyaaaaa you want me to provide real life usage example or what? I've followed guidelines...

Proxxx23 avatar Oct 23 '23 20:10 Proxxx23

provide real life usage example

Yes, you need:

Write about some real-world use-cases where it can be useful. (It can be hard sometimes for users to see where they would use something)

Emiyaaaaa avatar Oct 24 '23 04:10 Emiyaaaaa

need remove .idea folder

Emiyaaaaa avatar Oct 26 '23 08:10 Emiyaaaaa

Bump :)

sindresorhus avatar Apr 22 '24 08:04 sindresorhus

@sindresorhus I don't have this code locally nor in my forked repo. Can I close this PR and make new one? I'll just move this code to another PR and create PR one more time.

Proxxx23 avatar Apr 22 '24 08:04 Proxxx23

No need to open a new pull request. The code is right here: https://github.com/Proxxx23/type-fest/tree/main You can just clone it.

sindresorhus avatar Apr 22 '24 09:04 sindresorhus