Represents an object structure that consists of a type and an instance.

This interface is used to define objects that pair a Type with a specific instance of that type.

The specific type of the object.

interface InstanceObject {
    instance: Instance;
    type: Type<any>;
}

Properties

Properties

instance: Instance

The actual implementation or object instance corresponding to the defined type.

type: Type<any>

The type of the instance which determines its structure or implementation.