I using Signalr library with React but getting this error: Property 'hubConnection' does not exist on type 'JQueryStatic'. Is there any way to fix it?
declare var window : any;
import $ from 'jquery';
window.jQuery = $;
require('ms-signalr-client');
const connection = $.hubConnection("http://x.x.x.x/signalr", { useDefaultPath: false });