
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@types/signalr-no-jquery
Advanced tools
npm install --save @types/signalr-no-jquery
This package contains type definitions for signalr-no-jquery (https://github.com/DVLP/signalr-no-jquery/).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/signalr-no-jquery.
// Type definitions for signalr-no-jquery 0.1
// Project: https://github.com/DVLP/signalr-no-jquery/
// Definitions by: Martin Gjoshevski <https://github.com/gjoshevski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 4.0
export function hubConnection(url?: string, options?: Options): Connection;
export function signalR(url?: string, qs?: any, logging?: any): any;
export interface Connection {
id: string;
proxies: { [hubName: string]: any };
transport: {
name: string;
supportsKeepAlive: SupportsKeepAliveHandler;
};
/**
* Creates a new proxy object for the given hub connection that can be used to invoke
* methods on server hubs and handle client method invocation requests from the server.
*
* @param hubName The name of the hub on the server to create the proxy for.
*/
createHubProxy(hubName: string): Proxy;
start(options?: any, callback?: () => void): any;
stop(async?: boolean, notifyServer?: boolean): void;
reconnecting(callback: () => void): void;
disconnected(callback: () => void): void;
}
export interface Proxy {
state: any;
connection: Connection;
hubName: string;
init(connection: Connection, hubName: string): void;
hasSubscriptions(): boolean;
/**
* Wires up a callback to be invoked when a invocation request is received from the server hub.
*
* @param eventName The name of the hub event to register the callback for.
* @param callback The callback to be invoked.
*/
on(eventName: string, callback?: (...msg: any[]) => void): Proxy;
/**
* Removes the callback invocation request from the server hub for the given event name.
*
* @param eventName The name of the hub event to unregister the callback for.
* @param callback The callback to be invoked.
*/
off(eventName: string, callback?: (...msg: any[]) => void): Proxy;
/**
* Invokes a server hub method with the given arguments.
*
* @param methodName The name of the server hub method.
*/
invoke(methodName: string, ...args: any[]): Promise<any>;
}
export interface Options {
qs?: string | undefined;
logging?: boolean | undefined;
useDefaultPath?: boolean | undefined;
}
export type SupportsKeepAliveHandler = () => boolean;
These definitions were written by Martin Gjoshevski.
FAQs
TypeScript definitions for signalr-no-jquery
The npm package @types/signalr-no-jquery receives a total of 4,734 weekly downloads. As such, @types/signalr-no-jquery popularity was classified as popular.
We found that @types/signalr-no-jquery demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.