Extract public static methods from a constructor.
A constructor function
Returns a union of all static method names of the class. Useful for creating type-safe wrappers or proxies.
class Utils { static create() {} static format() {} }type StaticMethods = StaticMethodNames< typeof Utils >; // 'create' | 'format' Copy
class Utils { static create() {} static format() {} }type StaticMethods = StaticMethodNames< typeof Utils >; // 'create' | 'format'
Extract public static methods from a constructor.