Skip to content

Commit c4b08d9

Browse files
committed
Fix: searchTagsの返り値の型を修正
1 parent a63d308 commit c4b08d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/Qiita.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ export class Qiita extends Gateway {
207207
* @return タグの配列
208208
*/
209209
public searchTags = (q: string) => {
210-
return this.get<SearchTagResult>(`${this.url}/api/tags`, { q });
210+
return this.get<SearchTagResult[]>(`${this.url}/api/tags`, { q });
211211
}
212212

213213
/**

0 commit comments

Comments
 (0)