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;