UNPKG

typia

Version:

Superfast runtime validators with only one line

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