Extract static properties from a constructor.
A constructor function
Produces a union of static property names of the constructor. Excludes methods and the built-in prototype key.
prototype
class Config { static readonly version = "1.0"; static readonly debug = false; }type StaticProps = StaticPropertyNames< typeof Config >;// "version" | "debug" Copy
class Config { static readonly version = "1.0"; static readonly debug = false; }type StaticProps = StaticPropertyNames< typeof Config >;// "version" | "debug"
Extract static properties from a constructor.