Interface DeepPartialProtocol<S>

A shape should implement DeepPartialProtocol to support conversion to a deep partial alternative.

interface DeepPartialProtocol<S> {
    deepPartial(): S;
}

Type Parameters

  • S extends AnyShape

    The deep partial alternative of the shape.

Hierarchy (view full)

Implemented by

Methods

Methods

  • Converts the shape and its child shapes to deep partial alternatives.

    Note: This method returns a shape without any operations.

    Returns S

    The deep partial clone of the shape.