UNPKG

@dolittle/sdk.common

Version:

Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.

11 lines 649 B
import { Constructor } from '@dolittle/types'; /** * Gets the named data in the metadata of the specified type. * @param {string} name - The metadata name to get. * @param {Constructor<any>} type - The type to get metadata on. * @param {boolean} [createMetadata] - An optional boolean to specify whether or not to create the metadata map if it doesn't exist. * @returns {T | undefined} The value of the named data. * @template T The Type of the metadata value. */ export declare function getDecoratorMetadata<T>(name: string, type: Constructor<any>, createMetadata?: boolean): T | undefined; //# sourceMappingURL=getDecoratorMetadata.d.ts.map