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

CachedFilesGetter

Generic types:TClass TProperty

Decorator for paths that should be cached, it can be applied to a string or an array of strings property to cache the path or paths for the current class

Presentation

function CachedFilesGetter(): (
  target: (this: TClass) => TProperty,
  context: ClassGetterDecoratorContext<TClass, TProperty>,
) => (this: TClass) => TProperty;

Returns

(target: (this: TClass) => TProperty, context: ClassGetterDecoratorContext<TClass, TProperty>) => (this: TClass) => TProperty