mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
feat: REST#raw (#7929)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { Dispatcher } from 'undici';
|
||||
import type { RequestOptions } from '../REST';
|
||||
import type { HandlerRequestData, RouteData } from '../RequestManager';
|
||||
|
||||
@@ -7,7 +8,7 @@ export interface IHandler {
|
||||
url: string,
|
||||
options: RequestOptions,
|
||||
requestData: HandlerRequestData,
|
||||
) => Promise<unknown>;
|
||||
) => Promise<Dispatcher.ResponseData>;
|
||||
// eslint-disable-next-line @typescript-eslint/method-signature-style -- This is meant to be a getter returning a bool
|
||||
get inactive(): boolean;
|
||||
readonly id: string;
|
||||
|
||||
Reference in New Issue
Block a user