@geogirafe/lib-geoportal
Version:
GeoGirafe is a flexible application to build online geoportals.
16 lines (15 loc) • 490 B
JavaScript
// SPDX-License-Identifier: Apache-2.0
/**
* Use this Decorator to mark a Method that seems unused but is used in the HTML Template.
* @constructor
*/
export function UsedInTemplateOnly(_reason = 'Method is used in HTML Template') {
return function (_target, _propertyKey, _descriptor) { };
}
/**
* Use this Decorator to mark a class that should not be exported in the library main files.
* @constructor
*/
export function lazyLoadedInLib() {
return function (_target) { };
}