UNPKG
ts-std-lib
Version:
latest (1.2.2)
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.1
1.0.0
A standard library for typescript
github.com/SeanSobey/ts-std-lib
SeanSobey/ts-std-lib
ts-std-lib
/
dist
/
Constructor.d.ts
11 lines
(10 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
/** * A non-instantiable class */
export
declare
type
AbstractConstructor
<T> =
Function
& {
readonly
prototype
: T; };
/** * an instantiable class */
export
declare
type
Constructor
<T> = (
new
(...
args
:
ReadonlyArray
<
any
>) => T);