From 005b641d7f2d8d0b4231f5cb19d91b2674442dc0 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Thu, 23 Aug 2018 14:44:32 +0200 Subject: [PATCH] Cleanup failing tests for libp2p-bootstrap --- types/libp2p-bootstrap/index.d.ts | 2 +- .../{libp2p-railing-tests.ts => libp2p-bootstrap-tests.ts} | 0 types/libp2p-bootstrap/tsconfig.json | 2 +- types/libp2p/index.d.ts | 4 ++-- 4 files changed, 4 insertions(+), 4 deletions(-) rename types/libp2p-bootstrap/{libp2p-railing-tests.ts => libp2p-bootstrap-tests.ts} (100%) diff --git a/types/libp2p-bootstrap/index.d.ts b/types/libp2p-bootstrap/index.d.ts index 806051c..903c3e6 100644 --- a/types/libp2p-bootstrap/index.d.ts +++ b/types/libp2p-bootstrap/index.d.ts @@ -15,7 +15,7 @@ declare namespace LibP2pBootstrap { type Events = 'peer'; } -declare class LibP2pRailing { +declare class LibP2pBootstrap { constructor (options: LibP2pBootstrap.Options); on (event: LibP2pBootstrap.Events, cb: (peerInfo: PeerInfo) => any): void; diff --git a/types/libp2p-bootstrap/libp2p-railing-tests.ts b/types/libp2p-bootstrap/libp2p-bootstrap-tests.ts similarity index 100% rename from types/libp2p-bootstrap/libp2p-railing-tests.ts rename to types/libp2p-bootstrap/libp2p-bootstrap-tests.ts diff --git a/types/libp2p-bootstrap/tsconfig.json b/types/libp2p-bootstrap/tsconfig.json index 932e246..387dd2c 100644 --- a/types/libp2p-bootstrap/tsconfig.json +++ b/types/libp2p-bootstrap/tsconfig.json @@ -12,5 +12,5 @@ "noEmit": true, "forceConsistentCasingInFileNames": true }, - "files": ["index.d.ts", "bn.js-tests.ts"] + "files": ["index.d.ts", "libp2p-bootstrap-tests.ts"] } diff --git a/types/libp2p/index.d.ts b/types/libp2p/index.d.ts index 8a8955f..b5fcb79 100644 --- a/types/libp2p/index.d.ts +++ b/types/libp2p/index.d.ts @@ -3,12 +3,12 @@ // Definitions by: Jaco Greeff // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +/// /// /// /// /// /// -/// /// /// /// @@ -48,7 +48,7 @@ declare namespace LibP2p { connEncryption: Array, streamMuxer: Array, dht?: typeof LibP2pKadDht, - peerDiscovery: Array, + peerDiscovery: Array, transport: LibP2pTransport[] };