@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>
18 lines • 500 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.cachedFilesInitializer = cachedFilesInitializer;
/**
*
* @param cls
* @param propName
*/
function cachedFilesInitializer(cls, propName) {
const castedThis = cls;
if (!castedThis.__cachedFiles) {
Object.defineProperty(castedThis, '__cachedFiles', {
value: new Set(),
});
}
castedThis.__cachedFiles?.add(propName);
}
//# sourceMappingURL=cached-files-initializer.js.map
;