defineProperty()
function defineProperty<T>(tag, type?): Property<T>
Create a constant property object which has the specified tag and type to be used in coded bricks.
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type | Description |
|---|---|---|
tag | InstanceOrTag | the property tag |
type? | Class<T> | type the property holds values of |
Returns
Property<T>
newly defined property