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