Skip to content

Commit

Permalink
remove Constructor type
Browse files Browse the repository at this point in the history
  • Loading branch information
wirekang committed Jun 13, 2023
1 parent f3f3927 commit fdcc0df
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/util/type-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,3 @@ export type DrainOuterGeneric<T> = [T] extends [unknown] ? T : never
export type ShallowRecord<K extends keyof any, T> = DrainOuterGeneric<{
[P in K]: T
}>

export interface Constructor<T> extends Function {
new (...args: any[]): T
}

0 comments on commit fdcc0df

Please sign in to comment.