Installation
npm install --save @types/socketio-wildcard
Summary
This package contains type definitions for socketio-wildcard (https://github.com/hden/socketio-wildcard).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/socketio-wildcard.
index.d.ts
/// <reference types="socket.io-client" />
import SocketIO = require("socket.io");
import { EventEmitter } from "events";
import Socket = SocketIO.Socket;
import ClientSocket = SocketIOClient.Socket;
export = sioWildcard;
declare function sioWildcard(
emitterCtor?: { prototype: typeof EventEmitter.prototype },
): (socket: Socket | ClientSocket, next?: (err?: any) => void) => void;
Additional Details
- Last updated: Tue, 07 Nov 2023 1536 GMT
- Dependencies: @types/socket.io, @types/socket.io-client
Credits
These definitions were written by BendingBender.