UNPKG

@httpc/kit

Version:

httpc toolbox for building function-based API with minimal code and end-to-end type safety

9 lines (8 loc) 292 B
export declare function isClass(func: Function): boolean; export declare function OptionalSchema<T>(schema: T): T; declare class Optional { readonly schema: any; constructor(schema: any); } export declare function isOptionalSchema(schema: any): schema is Optional; export {};