displayName
displayName(
name): (constructor) =>void
Class level decorator. Specifies if a resource has some other displayed name.
If we create a User resource it will be displayed as a User, but when we add displayName decorator
@displayName("Company Client") it will be displayed as an Company Client.
Sets {@link ResourceMeta.displayName}.
Parameters
name
string
displayed name
Returns
(
constructor):void
Parameters
[constructor](function Object() { [native code] })
Constructor<unknown>
Returns
void