This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
import type { AbstractConstructor } from "type-fest"
|
||||
|
||||
|
||||
/**
|
||||
* Represents the static members of a class.
|
||||
* @template C - A class.
|
||||
* Obtain the static members type of a constructor function type
|
||||
*/
|
||||
export type StaticType<C extends AbstractConstructor<any>> = Omit<C, "prototype">
|
||||
export type StaticType<T extends abstract new (...args: any) => any> = Omit<T, "prototype">
|
||||
|
||||
Reference in New Issue
Block a user