UNPKG

327 BTypeScriptView Raw
1export declare class InvalidDecoratorItemException extends Error {
2 private readonly msg;
3 constructor(decorator: string, item: string, context: string);
4 what(): string;
5}
6export declare function validateEach(context: {
7 name: string;
8}, arr: any[], predicate: Function, decorator: string, item: string): boolean;