*Options needs to be optional
This commit is contained in:
parent
ebaa1cac25
commit
c42cf65b8c
|
@ -46,7 +46,7 @@ export class RpcNetwork extends Client {
|
||||||
relay?: Buffer | string;
|
relay?: Buffer | string;
|
||||||
query: ClientRPCRequest;
|
query: ClientRPCRequest;
|
||||||
data: object | any[];
|
data: object | any[];
|
||||||
options: RpcQueryOptions;
|
options?: RpcQueryOptions;
|
||||||
}): SimpleRpcQuery {
|
}): SimpleRpcQuery {
|
||||||
return new SimpleRpcQuery({
|
return new SimpleRpcQuery({
|
||||||
network: this,
|
network: this,
|
||||||
|
@ -109,7 +109,7 @@ export class SimpleRpcQuery extends RpcQueryBase {
|
||||||
network: RpcNetwork;
|
network: RpcNetwork;
|
||||||
relay?: string | Buffer;
|
relay?: string | Buffer;
|
||||||
query: RPCRequest;
|
query: RPCRequest;
|
||||||
options: RpcQueryOptions;
|
options?: RpcQueryOptions;
|
||||||
}) {
|
}) {
|
||||||
super(network, query, options, "simpleQuery");
|
super(network, query, options, "simpleQuery");
|
||||||
this._relay = relay;
|
this._relay = relay;
|
||||||
|
|
Loading…
Reference in New Issue