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