UNPKG

@authduo/authduo

Version:

Free User-sovereign Authentication for the World

11 lines (10 loc) 356 B
export declare class EnsureError extends Error { constructor(message: string); } export declare const ensure: { string: (name: string, x: string) => string; number: (name: string, x: number) => number; boolean: (name: string, x: boolean) => boolean; array: (name: string, x: any[]) => any[]; object: (name: string, x: {}) => {}; };