Skip to content

Releases: komed3/devtypes

vers. 2.2.0

Choose a tag to compare

@komed3 komed3 released this 16 Jun 21:41
6ec2ca9

What's New

  • Added types ReplaceOne and ReplaceMany to replace types of specific properties

What's Changed

  • Changed remaining imports to type only imports
  • Changed code layout and minor fixes

Full Changelog: v2.1.0...v2.2.0

vers. 2.1.0

Choose a tag to compare

@komed3 komed3 released this 13 Apr 22:55
00d66c1

What's New

  • Added types RequireExactlyOneFrom, StaticListLengthConstraint, ListNoDuplicate and ListNoMissingType

What's Changed

Full Changelog: v2.0.0...v2.1.0

vers. 2.0.0

Choose a tag to compare

@komed3 komed3 released this 30 Jan 23:36
7489c2a

⚠️ Warning: Breaking Changes ⚠️

Due to the complete revision of the type library and renaming of modules and types, you will need to adapt your own projects. The new technical documentation will help you with this.

For missing types, bug reports, or suggestions, please open an issue on GitHub.

What's New

  • Complete revision of all existing types, including renaming of modules and bug fixes.
  • Adding new types to the library; now over 160 curated types available.
  • New technical documentation for all types, generated by Typedoc and deployed to GitHub pages.

PRs

New Contributors

Full Changelog: v1.0.2...v2.0.0

vers. 1.0.2

Choose a tag to compare

@komed3 komed3 released this 10 Dec 23:44
d70eb30

New version adds tuple and array type helpers:

  • ListLike< T = any, I extends string | number = string | number >
  • ListElement< L >
  • ListLikeIndex< L >
  • IsListLike< T >
  • ToArray< L >

Full Changelog: v1.0.1...v1.0.2

vers. 1.0.1

Choose a tag to compare

@komed3 komed3 released this 01 Dec 00:52
7a1b16f

Minor patch addressing:

  • Branding with alternating keys (mandatory or optional)
  • Publishing migrated to OIDC

Example:

type User< ID extends number > = Brand< { ... }, ID, '__userID', true >;
const user: User< 123 > = { ... , __userID: 123 };

Full Changelog: v1.0.0...v1.0.1

vers. 1.0.0

Choose a tag to compare

@komed3 komed3 released this 24 Oct 08:36
b5522c4

A comprehensive collection of highly-optimized TypeScript type utilities for building type-safe applications.

Initial release 🎉