From 5bd2c735a81afa6b809bea888272955ef49e0d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Sun, 7 Jan 2024 22:18:16 +0100 Subject: [PATCH] Set StaticMembers as internal --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] }