Improved the SignalR TS definitions