From 9e5950bca32da888f6e40c757842fb78daac22cf Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 1 Sep 2015 15:26:36 -0700 Subject: [PATCH] Fixed parameter type, removed excess properties, in 'skyway'. --- skyway/skyway-tests.ts | 4 ---- skyway/skyway.d.ts | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/skyway/skyway-tests.ts b/skyway/skyway-tests.ts index a7eced27d..0a2a49d59 100644 --- a/skyway/skyway-tests.ts +++ b/skyway/skyway-tests.ts @@ -4,8 +4,6 @@ var peerByOption: PeerJs.Peer = new Peer({ key: 'peerKey', debug: 3, - logFunction: ()=>{ - } }); peerByOption.listAllPeers(function(items){ @@ -21,8 +19,6 @@ var peerByIdAndOption: PeerJs.Peer = new Peer( { key: 'peerKey', debug: 3, - logFunction: ()=>{ - } }); var id = peerByOption.id; diff --git a/skyway/skyway.d.ts b/skyway/skyway.d.ts index 681d358b8..8c5c85d1c 100644 --- a/skyway/skyway.d.ts +++ b/skyway/skyway.d.ts @@ -77,7 +77,7 @@ declare module PeerJs{ * @param id The brokering ID of the remote peer (their peer.id). * @param options for specifying details about Peer Connection */ - connect(id: string, options?: PeerJs.PeerJSOption): PeerJs.DataConnection; + connect(id: string, options?: PeerJs.PeerConnectOption): PeerJs.DataConnection; /** * Connects to the remote peer specified by id and returns a data connection. * @param id The brokering ID of the remote peer (their peer.id).