Package detail

justypes

BlackGlory28.2kMIT4.4.1

Dumb types for TypeScript in the real world

types, typescript

readme

justypes

Dumb types for TypeScript in the real world.

justypes contains these types:

  • A new type is an interface.
  • A new type is a collection of types.
  • A new type is a mapping of type A to type B.

Install

npm install --save justypes
# or
yarn add justypes

Types

  • Arrayable
  • Awaitable
  • Cons
  • Constructor
  • Dictionary
  • EmptyObject
  • FixedLengthArray
  • Matrix
  • Falsy
  • Getter
  • JSONValue
  • JSONObject
  • JSONSerializable
  • NonEmptyArray
  • Nullish
  • TypedArray
  • TypedArrayConstructor
  • SignedTypedArray
  • SignedTypedArrayConsturctor
  • UnsignedTypedArray
  • UnsignedTypedArrayConstructor
  • TypedArrayOfConstructor
  • ConstructorOfTypedArray

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

4.4.1 (2024-10-30)

Bug Fixes

4.4.0 (2024-10-30)

Features

4.3.0 (2024-09-02)

Features

4.2.1 (2023-06-11)

Bug Fixes

4.2.0 (2023-03-10)

Features

4.1.0 (2023-01-02)

Features

4.0.0 (2022-12-19)

⚠ BREAKING CHANGES

    • Renamed Json to JSONValue
  • Renamed Jsonable to JSONSerializable

  • rename (b1f5e49)

3.1.2 (2022-11-24)

3.1.1 (2022-11-24)

3.1.0 (2022-11-24)

Features

3.0.0 (2022-09-13)

⚠ BREAKING CHANGES

    • Removed ReturnTypeOfConstructor
  • Removed UnpackedArray
  • Removed UnpackedArrayLike
  • Removed UnpackedIterable
  • Removed UnpackedAsyncIterable
  • Removed UnpackedPromise
  • Removed UnpackedPromiseLike

  • move types to hotypes library (8f3899b)

2.3.0 (2022-09-13)

Features

  • add ReturnTypeOfConstructor (d32d981)

2.2.0 (2022-08-20)

Features

2.1.0 (2022-08-16)

Features

  • add TypedArrayConstructor, TypedArray, TypedArrayOfConstructor, ConstructorOfTypedArray (915d7f9)

2.0.1 (2022-08-01)

2.0.0 (2022-03-05)

⚠ BREAKING CHANGES

  • Remove JsonRpcNotification, JsonRpcRequest,
       JsonRpcResponse, JsonRpcSuccess, JsonRpcError,
       JsonRpcErrorObject

Features

  • move JSON RPC types to json-rpc-types (412ca9c)

1.0.0 (2022-03-05)

0.1.7 (2022-02-24)

Features

0.1.6 (2021-10-08)

Features

0.1.5 (2021-07-04)

Features

0.1.4 (2021-07-03)

Features

0.1.3 (2021-07-03)

Features

  • add a batch of types from hotypes v3 (dc08e4b)

0.1.2 (2021-05-22)

Bug Fixes

0.1.1 (2021-03-17)

Bug Fixes

0.1.0 (2021-03-17)

Features