npm.io
4.5.0 • Published 5 months ago

justypes

Licence
MIT
Version
4.5.0
Deps
0
Size
16 kB
Vulns
0
Weekly
0

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

Keywords