Skip to content

Commit

Permalink
refactor: async tag
Browse files Browse the repository at this point in the history
  • Loading branch information
fearandesire committed Oct 1, 2024
1 parent 58a949e commit a3c722e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ function initializeFuse(options: Options): Fuse<Team> {
* 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.
Expand All @@ -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.
Expand Down Expand Up @@ -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}.
Expand Down

0 comments on commit a3c722e

Please sign in to comment.