Home > ts-morph-structures > ClassMembersMap > convertAccessorsToProperty
Convert get and/or set accessors to a property. This may be lossy, but we try to be faithful.
Signature:
convertAccessorsToProperty(isStatic: boolean, name: string): void;
Parameter | Type | Description |
---|---|---|
isStatic | boolean | true if the property is static (and the accessors should be) |
name | string | the property name |
Returns:
void