From a3c722e3a0a16c1844d91f3ba3454af972b4de5a Mon Sep 17 00:00:00 2001 From: fearandesire <63979371+fearandesire@users.noreply.github.com> Date: Tue, 1 Oct 2024 11:24:30 -0400 Subject: [PATCH] refactor: async tag --- src/resolver.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/resolver.ts b/src/resolver.ts index df24fcb..76b6052 100644 --- a/src/resolver.ts +++ b/src/resolver.ts @@ -48,6 +48,7 @@ function initializeFuse(options: Options): Fuse { * Resolves {@link Team} data based on the query and options provided. * When no options are provided, it will return the team name directly as a string. * @overload + * @async * @param {string} query - The query string to search for. * @param {Options & { full: true }} options - The options for the search, including a flag to return full team details. * @returns {Team|null} The matched team object or null if no match is found. @@ -61,6 +62,7 @@ export async function resolveTeam( * Resolves a team name based on the query. * When no options are provided, it will return the team name directly as a string. * @overload + * @async * @param {string} query - The query string to search for. * @param {Options} [options] - The options for the search. * @returns {string|null} The matched team name or null if no match is found. @@ -92,6 +94,7 @@ export async function resolveTeam( * // } * ``` * + * @async * @param {string} query - The query string to search for. * @param {Options} [options=defaultOptions] - The options for the search. * Defaults to {@link defaultOptions}.