Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

CachedEntity

Generic types:TClass

Decorator for cached entities, it will load the cache and assign the properties to the entity

Presentation

function CachedEntity(): (Value: TClass, _context: ClassDecoratorContext<TClass>) => { new (...args: any[]): (Anonymous class); prototype: CachedEntity<any>.(Anonymous class); } & TClass;

Returns

(Value: TClass, _context: ClassDecoratorContext<TClass>) => { new (...args: any[]): (Anonymous class); prototype: CachedEntity<any>.(Anonymous class); } & TClass