Type alias TSerializableConstructor<T>

TSerializableConstructor<T>: {
    instances: Record<string, T>;
    clearInstances() => void;
    countInstances() => number;
    deleteInstance(id) => void;
    deserializeInstances(...jsons) => void;
    destroyInstances() => void;
    getInstance(id) => undefined | T;
    hasInstance(id) => boolean;
    revive(deserialized) => T;
    serializeInstances(indent?) => string;
} & (new (...args) => T)

Type Parameters

  • T

Type declaration

Type declaration

    • new (...args): T
    • Parameters

      • Rest ...args: unknown[]

      Returns T

Generated using TypeDoc