Reputation: 1031
I'm trying to use signalr with Typescript. Server side is ASP.NET (not ASP.NET CORE) I installed both signalR (https://www.npmjs.com/package/signalr) and @types/signalr (https://www.npmjs.com/package/@types/signalr).
My import looks like this:
import * as signalR from 'signalr';
The problem is I got an error: "File '... /node_modules/@types/signalr/index.d.ts' is not a module.
Not sure what to do about this. It's only with signalR library I have this problem.
Upvotes: 0
Views: 1061