Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
import type { URL } from 'node:url';
|
||||
export declare class WS {
|
||||
constructor(_url: URL, _anything: unknown[], _options: {
|
||||
followRedirects: true;
|
||||
perMessageDeflate: false;
|
||||
maxPayload: number;
|
||||
headers: Record<string, string>;
|
||||
});
|
||||
addEventListener(_type: 'open' | 'error' | 'message' | 'close', _cb: (evt: {
|
||||
data: string;
|
||||
}) => void): void;
|
||||
send(msg: string): void;
|
||||
close(): void;
|
||||
}
|
||||
export declare const ws: typeof WS;
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||||
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ws = void 0;
|
||||
const ws_1 = __importDefault(require("ws"));
|
||||
exports.ws = ws_1.default;
|
||||
Reference in New Issue
Block a user