Scalar
@Scalar(name: string, typeFunc?: ReturnTypeFunc<any>)
Parameters
Option | Type | Description |
---|---|---|
name
|
string |
|
typeFunc
|
ReturnTypeFunc |
Optional. Default is |
Returns
ClassDecorator