@armscye/core
v0.4.0
Published
A collection of shared standard TypeScript definitions (@core)
Downloads
237
Readme
@armscye/core
A collection of shared standard TypeScript definitions (@core).
Installation
Using npm:
npm install --save-dev @armscye/core
or using yarn:
yarn add @armscye/core --dev
Reference
Abstract Interface
Represents an abstract class T
, if applied to a concrete class it would stop being instantiable.
interface Abstract<T = any> extends Function {
prototype: T;
}
NoArgument Interface
Represents an instantiable class T
with a default (no-argument) constructor.
interface NoArgument<T = any> extends Function {
new (): T;
}
Type Interface
Represents an instantiable class T
with constructor parameters.
interface Type<T = any> extends Function {
new (...args: any[]): T;
}
License
This project is licensed under the MIT license.
See LICENSE for more information.