UNPKG

typia

Version:

Superfast runtime validators with only one line

15 lines (14 loc) 631 B
import ts from "typescript"; import { IProject } from "../../transformers/IProject"; import { FeatureProgrammer } from "../FeatureProgrammer"; import { FunctionImporter } from "../helpers/FunctionImporter"; export declare namespace MiscValidatePruneProgrammer { const decompose: (props: { project: IProject; modulo: ts.LeftHandSideExpression; importer: FunctionImporter; type: ts.Type; name: string | undefined; }) => FeatureProgrammer.IDecomposed; const write: (project: IProject) => (modulo: ts.LeftHandSideExpression) => (type: ts.Type, name?: string) => ts.CallExpression; }