@credo-ts/core
Version:
<p align="center"> <br /> <img alt="Credo Logo" src="https://github.com/openwallet-foundation/credo-ts/blob/c7886cb8377ceb8ee4efe8d264211e561a75072d/images/credo-logo.png" height="250px" /> </p> <h1 align="center"><b>Credo - Core</b></h1
14 lines (13 loc) • 496 B
text/typescript
import { ValidationOptions } from "class-validator";
//#region src/utils/transformers.d.ts
/**
* Decorator that transforms to and from a date instance.
*/
declare function DateTransformer(): PropertyDecorator;
/**
* Checks if a given value is a string or string array.
*/
declare function IsStringOrStringArray(validationOptions?: Omit<ValidationOptions, 'each'>): PropertyDecorator;
//#endregion
export { DateTransformer, IsStringOrStringArray };
//# sourceMappingURL=transformers.d.mts.map