@nestjs/common
Version:
Nest - modern, fast, powerful node.js web framework (@common)
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;