File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/discord.js/typings Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1- // DOM types required for undici
2- /// <reference lib="dom" />
3-
41import {
52 ActionRowBuilder as BuilderActionRow ,
63 MessageActionRowComponentBuilder ,
@@ -173,7 +170,7 @@ import { ChildProcess } from 'node:child_process';
173170import { EventEmitter } from 'node:events' ;
174171import { Stream } from 'node:stream' ;
175172import { MessagePort , Worker } from 'node:worker_threads' ;
176- import * as WebSocket from 'ws' ;
173+ import { Data as WebSocketData , WebSocket } from 'ws' ;
177174import {
178175 RawActivityData ,
179176 RawAnonymousGuildData ,
@@ -5898,7 +5895,7 @@ export type MessageChannelComponentCollectorOptions<T extends CollectedMessageIn
58985895> ;
58995896
59005897export interface MessageEvent {
5901- data : WebSocket . Data ;
5898+ data : WebSocketData ;
59025899 type : string ;
59035900 target : WebSocket ;
59045901}
You can’t perform that action at this time.
0 commit comments