@gtkx/ffi / NativeClass
Type Alias: NativeClass<T>
NativeClass<
T> = (...args) =>T&object
Defined in: packages/ffi/src/object.ts:23
Constructor type for a NativeObject subclass, carrying GLib type metadata (glibTypeName, objectType) as static properties.
Type Declaration
| Name | Type | Defined in |
|---|---|---|
glibTypeName | string | packages/ffi/src/object.ts:27 |
objectType | "gobject" | "interface" | "boxed" | "struct" | "fundamental" | packages/ffi/src/object.ts:28 |
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends NativeObject | NativeObject |