es-membrane

Home > ts-morph-structures > ShorthandPropertyAssignmentImpl > clone

ShorthandPropertyAssignmentImpl.clone() method

Create a ShorthandPropertyAssignmentImpl from a ShorthandPropertyAssignmentStructure.

Signature:

static clone(source: OptionalKind<ShorthandPropertyAssignmentStructure>): ShorthandPropertyAssignmentImpl;

Parameters

Parameter Type Description
source OptionalKind<ShorthandPropertyAssignmentStructure> The structure to clone.

Returns:

ShorthandPropertyAssignmentImpl