Guard: Add Constructor<T>

This commit is contained in:
networkException 2022-01-04 00:40:45 +01:00
parent cba7f2b58f
commit 9cc468a997

View file

@ -1 +1,2 @@
export type NonEmptyArray<T> = [T, ...T[]]; export type NonEmptyArray<T> = [T, ...T[]];
export type Constructor<T> = new(...args: Array<any>) => T;