From 3caebb18bea18d0c708075f10b66db79ea9b4e0c Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 26 Aug 2019 12:32:11 +0200 Subject: [PATCH] dial --- types/libp2p/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/libp2p/index.d.ts b/types/libp2p/index.d.ts index 39b5612..ec0a353 100644 --- a/types/libp2p/index.d.ts +++ b/types/libp2p/index.d.ts @@ -82,7 +82,7 @@ declare class LibP2p { readonly peerInfo: PeerInfo; readonly peerBook: PeerBook; - dial(peerInfo: PeerInfo): Promise; + dial(peerInfo: PeerInfo): Promise; dialProtocol(peerInfo: PeerInfo | Multiaddr.Multiaddr, protocol: string): Promise; hangUp(peerInfo: PeerInfo): Promise; handle(protocol: string, handler: (protocol: string, conn: LibP2pConnection) => any, matcher?: (protocol: string, requestedProtocol: string, cb: (error: Error | null, accept: boolean) => void) => any): void;