*Options needs to be optional

This commit is contained in:
Derrick Hammer 2023-03-24 13:28:54 -04:00
parent ebaa1cac25
commit c42cf65b8c
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ export class RpcNetwork extends Client {
relay?: Buffer | string;
query: ClientRPCRequest;
data: object | any[];
options: RpcQueryOptions;
options?: RpcQueryOptions;
}): SimpleRpcQuery {
return new SimpleRpcQuery({
network: this,
@ -109,7 +109,7 @@ export class SimpleRpcQuery extends RpcQueryBase {
network: RpcNetwork;
relay?: string | Buffer;
query: RPCRequest;
options: RpcQueryOptions;
options?: RpcQueryOptions;
}) {
super(network, query, options, "simpleQuery");
this._relay = relay;