From ddcba287ac716d78910fc948115c78d3bbb16118 Mon Sep 17 00:00:00 2001 From: John Brehm Date: Thu, 4 Jan 2024 15:39:26 -0800 Subject: [PATCH] Change the type of top level search to string The doc comment specifies that the function should take in a string as the query but the type only allows for a SearchIndex string. --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index 1dea18d..5b66f75 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -102,7 +102,7 @@ declare module "@xivapi/js" { * ``` */ public search( - input: keyof typeof SearchIndexes, + input: string, params?: DataSearchParams ): Promise;