UNPKG

@arifwidianto/rpc-agent

Version:

RPC Agent for both client and server, extends more methods easily

4 lines (3 loc) 242 B
import { DynamicSchema } from "../interfaces"; export declare function validateSchema(schema: unknown): schema is DynamicSchema; export declare function validateParamsToSchema(params: Record<string, unknown>, schema: DynamicSchema): boolean;