Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Conversation

kasparszarinovs
Copy link
Contributor

@kasparszarinovs kasparszarinovs commented May 24, 2022

Add helpful utility types:

  • ValueOf - extracting values from another type.
  • Optional - like Partial, but allows specifying select keys only.
  • Nullable - "shorthand" to T | null.
  • Replace - replace the type for specified keys of a type.

TBC...

I'd appreciate feedback on currently added types, and any new utility type suggestions.

@kasparszarinovs kasparszarinovs self-assigned this May 24, 2022
@kasparszarinovs kasparszarinovs marked this pull request as draft May 24, 2022 22:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant