Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Remove hyphen after @returns #9989

Merged
merged 2 commits into from
Nov 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/proxy/src/util/responseHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/rest/src/lib/handlers/Shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export async function makeNetworkRequest(
* @param url - The fully resolved url to make the request to
* @param requestData - Extra data from the user's request needed for errors and additional processing
* @param retries - The number of retries this request has already attempted (recursion occurs on the handler)
* @returns - The response if the status code is not handled or null to request a retry
* @returns The response if the status code is not handled or null to request a retry
*/
export async function handleErrors(
manager: REST,
Expand Down