From 9cc468a9972c121f441015dac5377c2b664bf3dd Mon Sep 17 00:00:00 2001 From: networkException Date: Tue, 4 Jan 2022 00:40:45 +0100 Subject: [PATCH] Guard: Add Constructor --- util/guards.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/util/guards.ts b/util/guards.ts index 5ae448c..6dd31b3 100644 --- a/util/guards.ts +++ b/util/guards.ts @@ -1 +1,2 @@ export type NonEmptyArray = [T, ...T[]]; +export type Constructor = new(...args: Array) => T;