mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
chore: use descriptive type parameter names (#9937)
* chore: use descriptive type parameter names * refactor: requested changes --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ function serializeSearchParam(value: unknown): string | null {
|
||||
* @param options - The options to use
|
||||
* @returns A populated URLSearchParams instance
|
||||
*/
|
||||
export function makeURLSearchParams<T extends object>(options?: Readonly<T>) {
|
||||
export function makeURLSearchParams<OptionsType extends object>(options?: Readonly<OptionsType>) {
|
||||
const params = new URLSearchParams();
|
||||
if (!options) return params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user