Fixed parameter type, removed excess properties, in 'skyway'.

This commit is contained in:
Daniel Rosenwasser
2015-09-01 15:26:36 -07:00
parent e55d1b91f9
commit 9e5950bca3
2 changed files with 1 additions and 5 deletions
-4
View File
@@ -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;
+1 -1
View File
@@ -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).