@webilix/nestjs-helper
Version:
Helper library for NestJS
13 lines • 467 B
TypeScript
import { PipeTransform } from '@nestjs/common';
export declare class StringPipe implements PipeTransform {
private readonly title;
private readonly options?;
constructor(title: string, options?: Partial<{
readonly length: number;
readonly minLength: number;
readonly maxLength: number;
readonly optional: boolean;
}> | undefined);
transform(value: string): string | null;
}
//# sourceMappingURL=string.pipe.d.ts.map