ts-morph-structures

Home > ts-morph-structures > TypeMembersMap > convertAccessorsToProperty

TypeMembersMap.convertAccessorsToProperty() method

Convert get and/or set accessors to a property. This may be lossy, but we try to be faithful.

Signature:

convertAccessorsToProperty(name: string): void;

Parameters

Parameter Type Description
name string the property name

Returns:

void