preferSingularName
preferSingularName(): (
constructor) =>void
Class level decorator. Specifies if when generating a display name it should be a single name instead of default. If we prefer a resource to not be displayed as plural we can add the decorator to it.
Sets {@link ResourceMeta.preferSingularName}.
Returns
(
constructor):void
Parameters
[constructor](function Object() { [native code] })
Constructor<unknown>
Returns
void