*Use dynamic type for opts

This commit is contained in:
Derrick Hammer 2022-11-16 12:27:53 -05:00
parent e643f14e90
commit 98ad784c8e
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export default class DHTOnline extends DHTOnlineBase {
id = swarm.keyPair.publicKey,
data = {},
...opts
}: { id?: Buffer; data?: {}; opts?: any } = {}
}: { id?: Buffer; data?: {}; [key: string]: any } = {}
) {
super(id, opts as any);
this.flood = new DHTFlood({ id, swarm, ...opts });