import { Constructor } from './Constructor.js'; import { OmitNever } from './OmitNever.js'; import './Pretty.js'; import './Function.js'; /** * Extract static properties from a class constructor. * * @template T The class to extract static properties from. * @returns The static properties of the class. * @example * class Foo { static a = 1 } * type A = ConstructorStatics // { a: number } */ type ConstructorStatics = OmitNever<{ [K in Exclude]: T[K]; }>; export type { ConstructorStatics };