mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs: Remove hyphen after @returns (#9989)
docs: remove hyphen after `@returns` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -67,7 +67,7 @@ export function populateAbortErrorResponse(res: ServerResponse): void {
|
||||
*
|
||||
* @param res - The server response to populate
|
||||
* @param error - The error to check and use
|
||||
* @returns - True if the error is known and the response object was populated, otherwise false
|
||||
* @returns `true` if the error is known and the response object was populated, otherwise `false`
|
||||
*/
|
||||
export function populateErrorResponse(res: ServerResponse, error: unknown): boolean {
|
||||
if (error instanceof DiscordAPIError || error instanceof HTTPError) {
|
||||
|
||||
Reference in New Issue
Block a user