I've started using typescript, easily found declaration (d.ts) files for angular.js and jquery. Can't find one for SignalR jquery though.
Can you guys help me. I could just create an interface that extends JQuery
but somehow it's not working...
var hub = $.connection.myHub
it's complaining about connection
thing... says "The property 'connection' doesn't exist on value of type 'JQueryStatic'"
DefinitelyTyped has a complete TypeScript definition for SignalR.
Just updated the link, thanks Stuart
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With