TsPropertyAttribute class
Configures properties of the property in the script model.
Namespace: TypeLite
Inherits: Attribute
Properties
Name | Description | |
---|---|---|
IsOptional | Gets or sets bool value indicating whether the property is optional in the Typescript interface. | |
Name | Gets or sets name of the property in script model. | |
TypeId |
TsPropertyAttribute.IsOptional property
Gets or sets bool value indicating whether the property is optional in the Typescript interface.
Syntax
TsPropertyAttribute.Name property
Gets or sets name of the property in script model.