Skip to content

API Reference / @gtkx/runtime / StaticBase

Type Alias: StaticBase<C, K> ​

StaticBase<C, K> = Omit<C, K> & (C extends abstract new (...args) => infer R ? abstract new (...args) => R : never)

Defined in: packages/runtime/src/registry.ts:34

Static side of C without members named K, preserving its abstract construct signature. Generated subclasses redeclare their own statics, allowing narrower types than the parent. Keeping the signature abstract also supports abstract base classes.

Type Parameters ​

C ​

C

K ​

K extends PropertyKey