UNPKG

ts-stronger-types

Version:

Runtime checking of types and integrity for Typescript projects

3 lines (2 loc) 182 B
import { Type } from './typed.utils'; export declare function checked<TInput1, TOut>(fn: (arg1: TInput1) => TOut, arg1: TInput1, arg1Type: Type<TInput1>, outType: Type<TOut>): TOut;