diff --git a/src/index.ts b/src/index.ts index 787963f..cf13964 100644 --- a/src/index.ts +++ b/src/index.ts @@ -5,7 +5,7 @@ import { AbstractClass, AbstractConstructor, Opaque, UnionToIntersection } from * Represents the static members of a class. * @template C - The class type. */ -export type StaticMembers = { +type StaticMembers = { [Key in keyof C as Key extends "prototype" ? never : Key]: C[Key] }