MutableClass work

This commit is contained in:
Julien Valverdé
2024-06-10 21:03:23 +02:00
parent 0b2c56be64
commit cc33865e1a
4 changed files with 13 additions and 5 deletions

8
src/StaticType.ts Normal file
View File

@@ -0,0 +1,8 @@
import type { AbstractConstructor } from "type-fest"
/**
* Represents the static members of a class.
* @template C - A class.
*/
export type StaticType<C extends AbstractConstructor<any>> = Omit<C, "prototype">