UNPKG

valia

Version:

A runtime data validator in TypeScript with advanced type inference, built-in validation functions, and seamless integration for server and client environments.

3 lines (2 loc) 133 B
export type LooseAutocomplete<T extends string> = T | Omit<string, T>; export type Constructor<T = any> = new (...args: any[]) => T;