UNPKG

typia

Version:

Superfast runtime validators with only one line

9 lines (8 loc) 293 B
import ts from "typescript"; export declare namespace FunctionalGeneralProgrammer { interface IOutput { type: ts.Type; async: boolean; } const getReturnType: (checker: ts.TypeChecker) => (declaration: ts.FunctionDeclaration | ts.SignatureDeclaration) => IOutput; }