*Make data type any
This commit is contained in:
parent
0c577c43bd
commit
4d00de2b40
|
@ -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: [],
|
||||||
|
|
Loading…
Reference in New Issue