mirror of
https://github.com/fluencelabs/libp2p-ts
synced 2025-03-31 01:11:04 +00:00
18 lines
544 B
TypeScript
18 lines
544 B
TypeScript
// Type definitions for libp2p-websocket-star 0.15.3
|
|
// Project: https://github.com/libp2p/js-libp2p-websocket-star
|
|
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="interface-transport"/>
|
|
/// <reference types="libp2p-bootstrap"/>
|
|
|
|
declare class LibP2pWebsocketStar implements LibP2pTransport {
|
|
constructor(config?: any);
|
|
|
|
discovery: LibP2pBootstrap;
|
|
}
|
|
|
|
declare module 'libp2p-websocket-star' {
|
|
export default LibP2pWebsocketStar;
|
|
}
|