[F] $deprecated
function $deprecated( context, target, message): void
Mark a type as deprecated
Parameters
Parameter | Type | Description |
---|---|---|
context | DecoratorContext | DecoratorContext |
target | Type | Decorator target |
message | string | Deprecation target. |
Returns
void
Example
model Foo {}