UNPKG

sveltekit-superforms-5

Version:

<p align="center"> <img src="https://github.com/ciscoheat/sveltekit-superforms/raw/main/logo.svg" width="150px" align="center" alt="Superforms logo" /> <h1 align="center">Superforms 💥</h1> <p align="center">Making SvelteKit forms a pleasure to use!

5 lines (4 loc) • 431 B
import type { type } from 'arktype'; import { type ValidationAdapter, type RequiredDefaultsOptions, type ClientValidationAdapter } from './adapters.js'; export declare const arktype: <T extends type.Any>(schema: T, options: RequiredDefaultsOptions<T["infer"]>) => ValidationAdapter<T["infer"], T["inferIn"]>; export declare const arktypeClient: <T extends type.Any>(schema: T) => ClientValidationAdapter<T["infer"], T["inferIn"]>;