Home > ts-morph-structures > TypeStructureSet > replaceFromTypeArray
Replace all the types this set manages with those from another array.
Signature:
replaceFromTypeArray(array: (string | WriterFunction)[]): void;
Parameter | Type | Description |
---|---|---|
array | (string | WriterFunction)[] | the types to add. |
Returns:
void