Skip to content

Commit

Permalink
Change the type of top level search to string
Browse files Browse the repository at this point in the history
The doc comment specifies that the function should take in a string as the query but the type only allows for a SearchIndex string.
  • Loading branch information
cooljohnny3 committed Jan 4, 2024
1 parent 5b49a51 commit ddcba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ declare module "@xivapi/js" {
* ```
*/
public search(
input: keyof typeof SearchIndexes,
input: string,
params?: DataSearchParams
): Promise<SearchIndexResult>;

Expand Down

0 comments on commit ddcba28

Please sign in to comment.