mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
formating
This commit is contained in:
Vendored
+5
-1
@@ -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'); });
|
||||
|
||||
Reference in New Issue
Block a user