Skip to content

API Reference / @gtkx/runtime / Interface

Type Alias: Interface<TImpl>

Interface<TImpl> = AnyClass & object

Defined in: packages/runtime/dist/register-class.d.ts:5

A generated interface value, such as Gio.ListModel, accepted by registerClass.

Type Declaration

__impl__

__impl__: (impl) => void

Type-level slot holding the interface's Impl type; no value ever carries it.

Parameters

impl

Partial<TImpl> & object

Returns

void

Type Parameters

TImpl

TImpl

Released under the MPL-2.0 License.