Changed Classes to Constructors
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { AbstractClass } from "type-fest"
|
||||
import { AbstractConstructor } from "type-fest"
|
||||
|
||||
|
||||
/**
|
||||
@@ -10,8 +10,8 @@ export type CommonKeys<A, B> = Extract<keyof A, keyof B>
|
||||
|
||||
/**
|
||||
* Represents the static members of a class.
|
||||
* @template Class - A class extending AbstractClass.
|
||||
* @template Class - A class.
|
||||
*/
|
||||
export type StaticMembers<Class extends AbstractClass<any>> = (
|
||||
export type StaticMembers<Class extends AbstractConstructor<any>> = (
|
||||
Omit<Class, "prototype">
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user