typia
Version:
Superfast runtime validators with only one line
7 lines (6 loc) • 443 B
TypeScript
import ts from "typescript";
import { IProject } from "../../transformers/IProject";
export declare namespace FunctionalIsFunctionProgrammer {
const write: (project: IProject) => (modulo: ts.LeftHandSideExpression) => (equals: boolean) => (expression: ts.Expression, declaration: ts.FunctionDeclaration) => ts.CallExpression;
const getReturnTypeNode: (declaration: ts.FunctionDeclaration, async: boolean) => ts.TypeNode | undefined;
}