-
Notifications
You must be signed in to change notification settings - Fork 91
Type definition files (for SignaR adapter)? #28
Comments
Just a stranger: |
Visual Studio 2013 Package Manager Console:
Now jQuery compilation errors disappeared, but there are still multiple SignalR related errors
There are also errors like
Maybe 'signalr.TypeScript.DefinitelyTyped 0.4.1' is a wrong version (for SignalR 2.2.1)? But there is no other typings package for signalR. But other errors make me think that Chatjs typescript code is not synced with JavaScript code. @andrerpena, @rpaschoal? |
OK, I understood why there were "Duplicate identifier" errors: building a project for some reason generated two SignalR type definition files: signalr-1.0.d.ts (Type definitions for SignalR 1.0) and signalr.d.ts (Type definitions for SignalR 2.2.0). Excluding first file from a project solved "Duplicate identifier" issue. I hope that SignalR 2.2.1 I'm using has identical interfaces to 2.2.0. |
In chatjs\ChatJs\js\jquery.chatjs.controller.ts and chatjs\ChatJs\js\jquery.chatjs.messageboard.ts instead of |
chatjs\chatjs\js\jquery.chatjs.adapter.signalr.ts and chatjs\ChatJs\js\jquery.chatjs.adapter.signalr.js both have top lines of
But there is no folder /Scripts and no .d.ts files in a project. I'm pretty new to TypeScript. Where can I get those missing .d.ts files?
The text was updated successfully, but these errors were encountered: