@webilix/nestjs-helper
Version:
Helper library for NestJS
16 lines • 581 B
TypeScript
import { PipeTransform } from '@nestjs/common';
import { Formats } from '../formats';
export declare class ArrayPipe implements PipeTransform {
private readonly title;
private readonly options?;
constructor(title: string, options?: Partial<{
readonly split: string;
readonly format: Formats;
readonly minCount: number;
readonly maxCount: number;
readonly unique: boolean;
readonly optional: boolean;
}> | undefined);
transform(value: string | string[]): string[] | null;
}
//# sourceMappingURL=array.pipe.d.ts.map