optional 2nd once() param

This commit is contained in:
Daniel Lugo 2020-07-15 11:37:55 -04:00
parent a48b2f5270
commit 65a65a601e

View file

@ -47,7 +47,7 @@ export interface GUNNodeBase {
map(): GUNNode
on(this: GUNNode, cb: Listener): void
once(this: GUNNode, cb?: Listener): GUNNode
once(this: GUNNode, cb?: Listener, opts?: { wait: number }): GUNNode
open(this: GUNNode, cb?: OpenListener): GUNNode
load(this: GUNNode, cb?: OpenListener): GUNNode