@eddaic/nestjs-decorators
Version:
Additional decorators intended for use with NestJS framework.
10 lines (9 loc) • 369 B
TypeScript
import { TransformOptions } from 'class-transformer';
export declare function toLower(value: unknown): string | null;
/**
* Removes the leading and trailing white space and line terminator characters from string input.
*
* Null is returned if the value is not a string.
* @returns
*/
export declare function ToLower(options?: TransformOptions): PropertyDecorator;