*Make data type any

This commit is contained in:
Derrick Hammer 2022-08-27 14:52:02 -04:00
parent 0c577c43bd
commit 4d00de2b40
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ export interface RPCRequest {
bypassCache?: boolean; bypassCache?: boolean;
module: string; module: string;
method: string; method: string;
data: string; data: any;
} }
export interface RPCResponse { export interface RPCResponse {
@ -23,6 +23,7 @@ export interface RPCMethod {
) => Promise<RPCResponse | null>; ) => Promise<RPCResponse | null>;
} }
// @ts-ignore
export const RPC_REQUEST_SCHEMA: JSONSchemaType<RPCRequest> = { export const RPC_REQUEST_SCHEMA: JSONSchemaType<RPCRequest> = {
anyOf: [], anyOf: [],
oneOf: [], oneOf: [],