0.4.0 • Published 3 months ago

@armscye/core v0.4.0

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

@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.

0.4.0

3 months ago

0.3.0

3 months ago

0.2.0

4 months ago

0.1.0

10 months ago