formating

This commit is contained in:
Martin Gjoshevski
2017-09-08 23:33:56 +02:00
parent 68dd4e4407
commit 57add47127
2 changed files with 5 additions and 2 deletions
+5 -1
View File
@@ -11,7 +11,11 @@ export function signalR(url?: string, qs?: any, logging?: any): any;
interface Connection {
id: string;
proxies: { [hubName: string]: any };
transport: { name: string, supportsKeepAlive: () => boolean };
transport: {
name: string,
supportsKeepAlive: () => boolean
};
/**
* Creates a new proxy object for the given hub connection that can be used to invoke
* methods on server hubs and handle client method invocation requests from the server.
@@ -12,4 +12,3 @@ hubProxy.on('message', (message) => {
connection.start({ jsonp: true })
.done(() => { console.log('Now connected, connection ID=' + connection.id); })
.fail(() => { console.log('Could not connect'); });