Files
discord.js/packages/rest/src/web.ts
2025-06-07 13:21:57 +00:00

8 lines
333 B
TypeScript

import { setDefaultStrategy } from './environment.js';
// 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';