UNPKG

@eddaic/nestjs-decorators

Version:

Additional decorators intended for use with NestJS framework.

9 lines (8 loc) 410 B
import { SplitStringTransformOptions } from '../interface'; export declare function splitString(value: unknown, options?: SplitStringTransformOptions): unknown; /** * Transforms a string by a delimiter which defaults to `,`. If the * passed value is not a string, the value is returned unchanged. * @returns */ export declare function SplitString(options?: SplitStringTransformOptions): PropertyDecorator;