mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 02:23:31 +01:00
feat: update @types/node to v22 (#10926)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { setDefaultStrategy } from './environment.js';
|
||||
|
||||
setDefaultStrategy(fetch);
|
||||
// This cast is needed because of a mismatch between the version of undici-types provided by @types/node and undici
|
||||
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
||||
setDefaultStrategy(fetch as typeof import('undici').fetch);
|
||||
|
||||
export * from './shared.js';
|
||||
|
||||
Reference in New Issue
Block a user