API Reference / @gtkx/runtime / Interface
Type Alias: Interface<TImpl, TInstance>
Interface<
TImpl,TInstance> =AnyClass&object
Defined in: packages/runtime/src/register-class.ts:76
A generated interface value, such as Gio.ListModel, accepted by registerClass.
Type Declaration
__impl__
__impl__: (
impl) =>TInstance
Type-level slot holding the interface's Impl type; no value ever carries it.
Parameters
impl
Partial<TImpl> & object
Returns
TInstance
Type Parameters
TImpl
TImpl
TInstance
TInstance = object