UNPKG

guardz

Version:

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

2 lines (1 loc) 114 B
export declare function generateTypeGuardError(value: unknown, identifier: string, expectedType: string): string;