@dolittle/sdk.common
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
14 lines • 738 B
TypeScript
import { Constructor } from '@dolittle/types';
/**
* Checks whether or not the decorator metadata map exists on the provided type.
* @param {Constructor<any>} type - The type to check if the map exists on.
* @returns {boolean} True if the type has the decorator metadata map, false if not.
*/
export declare function hasDecoratorMetadataMap(type: Constructor<any>): boolean;
/**
* Ensures that the decorator metadata map exists on the provided type.
* @param {Constructor<any>} type - The type to ensure the map exists on.
* @returns {Map<string, any>} The metadata map on the type.
*/
export declare function ensureDecoratorMetadataMap(type: Constructor<any>): Map<string, any>;
//# sourceMappingURL=decoratorMetadataMap.d.ts.map