UNPKG

typia

Version:

Superfast runtime validators with only one line

8 lines (7 loc) 444 B
import ts from "typescript"; import { IExpressionEntry } from "./IExpressionEntry"; export declare namespace NotationJoiner { const object: (rename: (str: string) => string) => (input: ts.Expression, entries: IExpressionEntry<ts.Expression>[]) => ts.ConciseBody; const tuple: (children: ts.Expression[], rest: ts.Expression | null) => ts.Expression; const array: (input: ts.Expression, arrow: ts.Expression) => ts.CallExpression; }