type-space

Typescript type utilities for typing better TypeScript types.

GPL-3.0 License

Downloads
486
Stars
2
Committers
3

Bot releases are hidden (Show)

type-space - v1.13.2

Published by cuppachino over 1 year ago

What's Changed

Full Changelog: https://github.com/cuppachino/type-space/compare/v1.13.1...v1.13.2

npm: @cuppachino/type-space

type-space - v1.13.1

Published by cuppachino over 1 year ago

What's Changed

  • ✍️ Fixed README links

npm: @cuppachino/type-space

type-space - v1.13.0

Published by cuppachino over 1 year ago

type-space - v1.12.0

Published by cuppachino over 1 year ago

What's Changed

Full Changelog: https://github.com/Cuppachino/type-space/compare/v1.10.1...v1.12.0

npm: @cuppachino/type-space

type-space - v1.10.1

Published by cuppachino almost 2 years ago

Summary

🐛 Minor bugfix

What's Changed

Full Changelog: https://github.com/Cuppachino/type-space/compare/v1.10.0...v1.10.1

npm: @cuppachino/type-space

type-space - v1.10.0

Published by cuppachino almost 2 years ago

Summary

I'll be using PRs from now on.

Type Tested README
Stringifiable 🎫

What's Changed

New Contributors

Full Changelog: https://github.com/Cuppachino/type-space/compare/v1.9.1...v1.10.0

npm: @cuppachino/type-space

type-space - v1.9.1

Published by cuppachino almost 2 years ago

Summary

This release introduces:

Type Tested README
PickAll
UnionLiteral
UnionToIntersection

The KeyOf type now has an optional Otherwise parameter (default: never). Non-breaking change.

What's Changed

Full Changelog: https://github.com/Cuppachino/type-space/compare/v1.8.3...v1.9.1

npm: @cuppachino/type-space

type-space - v1.8.3

Published by cuppachino almost 2 years ago

I forgot to bump the version in package.json. The following releases are incorrectly versioned as 1.6.0:

  • 1.7.0
  • 1.8.0
  • 1.8.1
  • 1.8.2

This release just bumps the version number correctly.

npm: @cuppachino/type-space

type-space - v1.8.2

Published by cuppachino almost 2 years ago

This version just adds a description to the package.json.

npm: @cuppachino/type-space

type-space - v1.8.1

Published by cuppachino almost 2 years ago

⬆️ Dependency Update

What's Changed

New Contributors

Full Changelog: https://github.com/Cuppachino/type-space/compare/v1.8.0...v1.8.1

npm: @cuppachino/type-space

type-space - v1.8.0

Published by cuppachino almost 2 years ago

Summary

This version adds another utility for "partializing" specific properties of a type. Combine is also tested now in partial-some.test.ts.

Type Tested README
PartialSome
Combine

npm: @cuppachino/type-space

type-space - v1.7.0

Published by cuppachino almost 2 years ago

Summary

This version adds a new utility type similar to Simplify that is potentially less destructive.

Type Tested README
Combine

npm: @cuppachino/type-space

type-space - v1.6.0

Published by cuppachino almost 2 years ago

Summary

This version adds a new tuple type.

Type Tested README
Flat

npm: @cuppachino/type-space

type-space - v1.5.1

Published by cuppachino almost 2 years ago

Summary

This release includes five new utilities, wow! ✨

Type Tested README
KeyOf
Mutable
PartitionKeys
PartitionValues
PartitionPick

Notes: Mutable doesn't have a test suite, and its recursive-ness might be separated into its own DeepMutable type in the future.

npm: @cuppachino/type-space

type-space - v1.4.0

Published by cuppachino almost 2 years ago

Summary

This version adds UnknownRecord and MergeAll types. Also, source comments are more consistent.

  • exported from src/index.ts
  • documented in README
  • passing tests

npm: @cuppachino/type-space

type-space - v1.3.0 `ExtractSetMembers`

Published by cuppachino almost 2 years ago

Summary

This version adds the ExtractSetMembers generic type, its test suite, and its README entry.

Forecast

These will the requirements for introducing types in the future. This only applies to intentional exports from the package entry point.

  1. Type - with comment documentation.
  2. Passing test suite
  3. README bullet - with source link and brief description.

npm: @cuppachino/type-space

type-space - v1.2.4

Published by cuppachino almost 2 years ago

🐛 This fixes a bug where ExtractFunctions would resolve to never if T was a class.

npm: @cuppachino/type-space

type-space - v1.2.1

Published by cuppachino almost 2 years ago

🐛 This fixes a bug where ExtendsFunction would resolve to never if T was readonly, and updates dev dependencies.

npm: @cuppachino/type-space

type-space - v1.2.0

Published by cuppachino almost 2 years ago

This version adds ExtendsFunction and ExtractFunctions types, tests, more documentation, and a cosmetic update to the README.

npm: @cuppachino/type-space

type-space - v1.1.4

Published by cuppachino almost 2 years ago

This fixes a bug where IndexOf would resolve to never if T was readonly, tests Indices and IndexOf, and adds documentation for UnknownArray.

npm: @cuppachino/type-space