UNPKG

svelidate

Version:

Simple and lightweight form validation for Svelte with no dependencies

5 lines (4 loc) 182 B
export declare type PartialAll<T> = { [K in keyof T]?: T[K] extends object ? PartialAll<T[K]> : T[K]; }; export declare type StringUnion<T extends string> = T | Omit<string, T>;