Skip to content

[V] $singleton

const $singleton: SingletonDecorator;

This decorator is used to mark a resource type as a โ€œsingletonโ€, a type with only one instance. The standard set of resource operations can be applied to such a resource type, they will generate the correct routes and parameter lists.