Package Exports
- typeable-array
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typeable-array) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Typeable array
TypeableArray provides a common TypeScript interface for Array and
Typed arrays.
ReadonlyTypeableArray provides a readonly interface of TypeableArray.
TypeableArrayConstructor provides a common interface for constructors of
Array and Typed arrays.
All interfaces are fully generic, including TypeableArrayConstructor. This
makes TypeableArrayConstructor more type-safe than the provided interfaces
in TypeScript library.
How to use
If you use one of the provided types in at least one exported interface, you have to place this package as production dependency:
npm install typeable-arrayOtherwise, you can place this package as a dev dependency:
npm install --save-dev typeable-arrayOnce installed you just need to import it:
import { TypeableArray } from "typeable-array"Credits
This piece of code was extracted from distile-ts.
License
Licensed under the zlib license.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, shall be licensed as above, without any additional terms or conditions.