UNPKG

guardz

Version:

A simple and lightweight TypeScript type guard library for runtime type validation.

8 lines (7 loc) 308 B
import { TypeGuardFn } from '../typeguards/isType'; /** * Get the expected type name from a type guard function * @param typeGuardFn - The type guard function to analyze * @returns The expected type name as a string */ export declare const getExpectedTypeName: (typeGuardFn: TypeGuardFn<any>) => string;