Skip to content

API Reference / @gtkx/runtime / StaticBase

Type Alias: StaticBase<C, K> ​

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

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

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