2018-06-21 14:49:53 +02:00
|
|
|
// Type definitions for libp2p-webrtc-star 0.15.3
|
|
|
|
// Project: https://github.com/libp2p/js-libp2p-webrtc-star
|
|
|
|
// 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 LibP2pWebRtcStar implements LibP2pTransport {
|
2018-09-18 20:09:35 -04:00
|
|
|
constructor(config?: any);
|
2018-06-21 14:49:53 +02:00
|
|
|
}
|
|
|
|
|
2018-06-24 10:16:29 +02:00
|
|
|
declare module 'libp2p-webrtc-star' {
|
2018-09-18 20:09:35 -04:00
|
|
|
export default LibP2pWebRtcStar;
|
2018-06-22 15:43:18 +02:00
|
|
|
}
|