UNPKG

@matatbread/typia

Version:

Superfast runtime validators with only one line

20 lines (19 loc) 788 B
import ts from "typescript"; import { IProgrammerProps } from "../../transformers/IProgrammerProps"; import { ITypiaContext } from "../../transformers/ITypiaContext"; import { FeatureProgrammer } from "../FeatureProgrammer"; import { FunctionProgrammer } from "../helpers/FunctionProgrammer"; export declare namespace NotationValidateGeneralProgrammer { interface IProps extends IProgrammerProps { rename: (str: string) => string; } const decompose: (props: { rename: (str: string) => string; context: ITypiaContext; modulo: ts.LeftHandSideExpression; functor: FunctionProgrammer; type: ts.Type; name: string | undefined; }) => FeatureProgrammer.IDecomposed; const write: (props: IProps) => ts.CallExpression; }