From fdcc0dffb2bc332237867afb644867798ab60a68 Mon Sep 17 00:00:00 2001 From: wirekang Date: Tue, 13 Jun 2023 14:58:41 +0900 Subject: [PATCH] remove Constructor type --- src/util/type-utils.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/util/type-utils.ts b/src/util/type-utils.ts index d760e7145..56240a69a 100644 --- a/src/util/type-utils.ts +++ b/src/util/type-utils.ts @@ -209,7 +209,3 @@ export type DrainOuterGeneric = [T] extends [unknown] ? T : never export type ShallowRecord = DrainOuterGeneric<{ [P in K]: T }> - -export interface Constructor extends Function { - new (...args: any[]): T -}