0.1.24 #24
@@ -12,8 +12,6 @@ export type CommonKeys<A, B> = Extract<keyof A, keyof B>
|
|||||||
* Represents the static members of a class.
|
* Represents the static members of a class.
|
||||||
* @template Class - A class.
|
* @template Class - A class.
|
||||||
*/
|
*/
|
||||||
export type StaticMembers<Class extends AbstractConstructor<any>> = (
|
export type StaticMembers<Class extends AbstractConstructor<any>> = Omit<Class, "prototype">
|
||||||
Omit<Class, "prototype">
|
|
||||||
)
|
|
||||||
|
|
||||||
export function type<T>() { return {} as T }
|
export function type<T>() { return {} as T }
|
||||||
|
|||||||
Reference in New Issue
Block a user