Object instance that should be cloned from one generation/shrink to another

Remarks

Since 2.15.0

interface WithCloneMethod<T> {
    [cloneMethod]: (() => T);
}

Type Parameters

  • T

Properties

Properties

[cloneMethod]: (() => T)

Type declaration

    • (): T
    • Returns T