2018-06-21 15:15:18 +02:00
|
|
|
// Type definitions for libp2p-websockets 0.12.0
|
|
|
|
// Project: https://github.com/libp2p/js-libp2p-websockets
|
2018-06-21 14:49:53 +02:00
|
|
|
// Definitions by: Jaco Greeff <https://github.com/jacogr>
|
|
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
|
2018-06-24 10:46:14 +02:00
|
|
|
/// <reference types="interface-transport"/>
|
2018-06-21 14:49:53 +02:00
|
|
|
|
2018-06-24 10:16:29 +02:00
|
|
|
declare class LibP2pWebsockets implements LibP2pTransport {
|
2018-06-21 14:49:53 +02:00
|
|
|
}
|
|
|
|
|
2018-06-24 10:16:29 +02:00
|
|
|
declare module 'libp2p-websockets' {
|
2018-06-22 16:01:52 +02:00
|
|
|
export default LibP2pWebsockets;
|
2018-06-22 15:43:18 +02:00
|
|
|
}
|