bookish-potato-dto
Version:
## Overview A TypeScript decorators-based API for defining Data Transfer Object (DTO) classes, types, and parsers. Simplifies schema validation and type enforcement using intuitive decorators and TypeScript classes.
14 lines (13 loc) • 475 B
TypeScript
import { PropertyParsingError } from '../../error';
import { ParseChain, ParseChainData } from './parse-chain';
/**
* This is facade for the chain of responsibility pattern.
* Defines the order of the chain and starts the chain.
*/
declare class ParseChainFacade implements ParseChain {
private readonly _chain;
constructor();
parse(data: ParseChainData): PropertyParsingError | undefined;
}
export declare const parseChainFacade: ParseChainFacade;
export {};