UNPKG

@trapi/metadata

Version:

Generate REST-API metadata scheme from TypeScript Decorators.

6 lines 510 B
import type { NodeDecorator } from '../../utils'; import type { DecoratorPropertyConfig, DecoratorPropertyConfigInput } from '../type'; export declare function buildDecoratorPropertyConfig(property: DecoratorPropertyConfigInput): DecoratorPropertyConfig; export declare function extractPropertyFromDecorator(decorator: NodeDecorator, config: DecoratorPropertyConfig): unknown | undefined; export declare function mergeArguments(data: unknown[]): any[] | Record<string, any>; //# sourceMappingURL=utils.d.ts.map