UNPKG

@trapi/metadata

Version:

Generate REST-API metadata scheme from TypeScript Decorators.

4 lines 387 B
import type { ParameterDeclaration, PropertyDeclaration, PropertySignature, TypeAliasDeclaration } from 'typescript'; import type { Validator } from './type'; export declare function getDeclarationValidators(declaration: PropertyDeclaration | TypeAliasDeclaration | PropertySignature | ParameterDeclaration, name?: string): Record<string, Validator>; //# sourceMappingURL=module.d.ts.map