mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
12 lines
302 B
TypeScript
12 lines
302 B
TypeScript
import type { RequestInit } from 'node-fetch';
|
|
import type { InternalRequest, RouteData } from '../RequestManager';
|
|
|
|
export interface IHandler {
|
|
queueRequest: (
|
|
routeId: RouteData,
|
|
url: string,
|
|
options: RequestInit,
|
|
bodyData: Pick<InternalRequest, 'files' | 'body'>,
|
|
) => Promise<unknown>;
|
|
}
|