typia
Version:
Superfast runtime validators with only one line
15 lines (14 loc) • 639 B
TypeScript
import ts from "typescript";
import { IProject } from "../transformers/IProject";
import { FeatureProgrammer } from "./FeatureProgrammer";
import { FunctionImporter } from "./helpers/FunctionImporter";
export declare namespace RandomProgrammer {
const decompose: (props: {
project: IProject;
importer: FunctionImporter;
type: ts.Type;
name: string | undefined;
init: ts.Expression | undefined;
}) => FeatureProgrammer.IDecomposed;
const write: (project: IProject) => (modulo: ts.LeftHandSideExpression) => (init?: ts.Expression) => (type: ts.Type, name?: string) => ts.CallExpression;
}