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-22 15:43:18 +02:00
|
|
|
// @ts-ignore
|
|
|
|
import Transport from 'interface-transport';
|
2018-06-21 14:49:53 +02:00
|
|
|
|
2018-06-22 15:43:18 +02:00
|
|
|
declare module 'libp2p-websockets' {
|
|
|
|
export class LibP2pWebsockets implements Transport {
|
2018-06-21 14:49:53 +02:00
|
|
|
}
|
|
|
|
|
2018-06-21 15:49:53 +02:00
|
|
|
export = LibP2pWebsockets;
|
2018-06-22 15:43:18 +02:00
|
|
|
}
|