Utility Types Versions Save

Collection of utility types, complementing TypeScript built-in mapped types and aliases (think "lodash" for static types).

v3.11.0

3 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/piotrwitek/utility-types/compare/v3.10.0...v3.11.0

v3.10.0

4 years ago

Fixed

  • Removed undefined from keyof result of (Pick|Omit)ByValue(Exact) (#124)

v3.9.0

4 years ago

New

  • Added new alias Falsy while deprecating Falsey (it's kept for backward compatibility) (#108)
  • Added UnionToIntersection type (#109)
  • Added Mutable type (#111)

Fixed

  • Make applying DeepReadonly idempotent (#107)
  • Added null | undefined to Primitive and isPrimitive (#116)

v3.8.0

4 years ago

New

  • Added new ValuesType (#99)
  • Added new Required<T, K> as the opposite of Optional<T, K> (#101)

Fixed

  • Updated FunctionKey and NonFunctionKeys (#95)
  • Added bigint to the Primitive type (#87)

v3.7.0

5 years ago

New

  • Added mixed type #81
  • Added Optional type #82

v3.6.1

5 years ago

Fixed

  • Fallback to previous Omit implementation as the new Omit from TS v3.5 is broken #80

v3.6.0

5 years ago

New

  • Added RequiredKeys and OptionalKeys #53
  • Added OmitByValue and PickByValue to the public API #50
  • Added OmitByValueExact and PickByValueExact #59

v3.5.0

5 years ago
  • added WritableKeys/ReadonlyKeys mapped types (#61)
  • added usage examples in JSDoc for each function (#68)
  • added Brand type (#67)
  • added Primitive and Falsey (#70)

v3.4.1

5 years ago
  • Added Class<T> (#56)
  • Added DeepPartial<T> (#60)

v3.2.1

5 years ago

Added $NonMaybeType utility (#48)