@nestjs/common
Version:
Decorators, pipes, exceptions and utilities for NestJS applications: @Controller(), @Injectable(), @Body(), ValidationPipe, HttpException and more.
9 lines (8 loc) • 327 B
TypeScript
export declare class InvalidDecoratorItemException extends Error {
private readonly msg;
constructor(decorator: string, item: string, context: string);
what(): string;
}
export declare function validateEach(context: {
name: string;
}, arr: any[], predicate: Function, decorator: string, item: string): boolean;