4.2.1 • Published 11 months ago

justypes v4.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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
  • FixedLengthArray
  • Falsy
  • Getter
  • JSONValue
  • JSONObject
  • JSONSerializable
  • NonEmptyArray
  • Nullish
  • TypedArray
  • TypedArrayConstructor
  • SignedTypedArray
  • SignedTypedArrayConsturctor
  • UnsignedTypedArray
  • UnsignedTypedArrayConstructor
  • TypedArrayOfConstructor
  • ConstructorOfTypedArray