mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 11:28:15 +00:00
change: make RestRequest.reject required
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ export interface RestRequest {
|
||||
url: string;
|
||||
method: string;
|
||||
respond: (payload: { status: number; body?: string }) => unknown;
|
||||
reject?: (error: unknown) => unknown;
|
||||
reject: (error: unknown) => unknown;
|
||||
}
|
||||
|
||||
export interface RestPayload {
|
||||
|
||||
Reference in New Issue
Block a user