DirectTypeAdd
DirectTypeAdd
new DirectTypeAdd(target)
This decorator allows you to add a Class method to the DirectTypeManager
as a function that should not be invoked with the new
keyword. For all
intents and purposes the function should be declared static
.
Parameters:
Name | Type | Description |
---|---|---|
target |
function | [description] |
- Source:
- decorators/ModelProperties.js, line 290