0.1.6 (#7)
Co-authored-by: Julien Valverdé <julien.valverde@mailo.com> Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
4
src/Types/StaticType.ts
Normal file
4
src/Types/StaticType.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Obtain the static members type of a constructor function type
|
||||
*/
|
||||
export type StaticType<T extends abstract new (...args: any) => any> = Omit<T, "prototype">
|
||||
1
src/Types/index.ts
Normal file
1
src/Types/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./StaticType"
|
||||
Reference in New Issue
Block a user