New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/ag-request

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ag-request

TypeScript definitions for ag-request

1.0.0
ts4.6
ts4.7
ts4.8
ts4.9
ts5.0
ts5.1
ts5.2
ts5.3
ts5.4
ts5.5
ts5.6
ts5.7
ts5.8
ts5.9
latest
Source
npm
Version published
Weekly downloads
4.5K
10.62%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/ag-request

Summary

This package contains type definitions for ag-request (https://github.com/SocketCluster/ag-request#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ag-request.

index.d.ts

declare namespace AGRequest {
    interface Socket {
        // FIXME Add typed options
        sendObject(responseData: unknown, options?: unknown): void;
    }
}

declare class AGRequest {
    socket: unknown;
    id: unknown;
    procedure: string;
    data: unknown;
    sent: boolean;

    constructor(socket: AGRequest.Socket, id: unknown, procedureName: string, data: unknown);

    // FIXME Add typed options
    end: (data: unknown) => void;
    error: (error: unknown) => void;
}

export = AGRequest;

Additional Details

  • Last updated: Sat, 30 Dec 2023 03:35:44 GMT
  • Dependencies: none

Credits

These definitions were written by Nathan Bierema.

FAQs

Package last updated on 30 Dec 2023

Did you know?

Socket

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.

Install

Related posts