UNPKG

typia

Version:

Superfast runtime validators with only one line

10 lines (9 loc) 565 B
import ts from "typescript"; import { IProject } from "../../transformers/IProject"; export declare namespace FunctionalValidateParametersProgrammer { const write: (project: IProject) => (modulo: ts.LeftHandSideExpression) => (equals: boolean) => (expression: ts.Expression, declaration: ts.FunctionDeclaration) => ts.CallExpression; const decompose: (project: IProject) => (modulo: ts.LeftHandSideExpression) => (equals: boolean) => (declaration: ts.FunctionDeclaration) => { functions: ts.Statement[]; statements: ts.Statement[]; }; }