mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-04-02 02:11:05 +00:00
11 lines
394 B
TypeScript
11 lines
394 B
TypeScript
// Type definitions for interface-connection 0.3.2
|
|
// Project: https://github.com/libp2p/interface-connection
|
|
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="../peer-info"/>
|
|
|
|
declare interface LibP2pConnection {
|
|
getPeerInfo (cb: (error: Error | null, peerInfo?: PeerInfo) => any): void;
|
|
}
|