Преглед изворни кода

EventEmitter is not type fix

Md Adil пре 5 година
родитељ
комит
8536d24421
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      index.d.ts

+ 1 - 1
index.d.ts

@@ -1,7 +1,7 @@
 /* eslint-disable @typescript-eslint/no-explicit-any */
 /// <reference types="node" />
 import { Server } from "net";
-import EventEmitter from "events";
+import { EventEmitter } from "events";
 import WebSocketLib from "ws";
 import Express from "express";