@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
6 lines (5 loc) • 385 B
TypeScript
/**
* 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
*/
export declare function CachedFilesGetter<TClass, TProperty extends string | string[]>(): (target: (this: TClass) => TProperty, context: ClassGetterDecoratorContext<TClass, TProperty>) => (this: TClass) => TProperty;