0.2.0 • Published 4 years ago

@ayte/archetype.collection v0.2.0

Weekly downloads
1
License
(MIT OR UPL-1.0)
Repository
github
Last release
4 years ago

Ayte / TypeScript / Archetype / Collection

npm CircleCI

This small package is designed for holding all collection-related types.

Installation

yarn add @ayte/archetype.collection

# - or -

npm install -S @ayte/archetype.collection

Structure

Currently there are only two types: IDictionary<T>, which is basically a map with values of type T, and IDynamic, which is just a type for an object that contains properties of any type under string keys, i.e. arrays are not assignable to this type. IDynamic may be useful to specify metadata types but restrict them to be maps.

Licensing

MIT / UPL-1.0

Ayte Labs, 2020