mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 12:33:30 +01:00
chore: remove usage of the prefer-global rules (#11279)
This commit is contained in:
committed by
GitHub
parent
548d75258b
commit
9bf1f739e0
@@ -1,5 +1,4 @@
|
||||
/* eslint-disable id-length */
|
||||
import { setImmediate } from 'node:timers';
|
||||
import type { GatewayDispatchPayload, GatewaySendPayload } from 'discord-api-types/v10';
|
||||
import { GatewayDispatchEvents, GatewayOpcodes } from 'discord-api-types/v10';
|
||||
import { test, vi, expect, afterEach } from 'vitest';
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
import { Buffer } from 'node:buffer';
|
||||
import { once } from 'node:events';
|
||||
import { clearInterval, clearTimeout, setInterval, setTimeout } from 'node:timers';
|
||||
import { setTimeout as sleep } from 'node:timers/promises';
|
||||
import { URLSearchParams } from 'node:url';
|
||||
import { TextDecoder } from 'node:util';
|
||||
import type * as nativeZlib from 'node:zlib';
|
||||
import { Collection } from '@discordjs/collection';
|
||||
import { lazy, shouldUseGlobalFetchAndWebSocket } from '@discordjs/util';
|
||||
|
||||
Reference in New Issue
Block a user