Skip to content

Releases: komed3/devtypes

vers. 1.0.2

10 Dec 23:44
d70eb30

Choose a tag to compare

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

01 Dec 00:52
7a1b16f

Choose a tag to compare

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

24 Oct 08:36
b5522c4

Choose a tag to compare

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

Initial release 🎉