Skip to content

Commit

Permalink
Use string type instead of any for exportSettings. Fixes #229 (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
dessalines authored Jan 10, 2024
1 parent 5d29352 commit b2b290b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export class LemmyHttp {
* `HTTP.GET /user/export_settings`
*/
exportSettings() {
return this.#wrapper<object, any>(
return this.#wrapper<object, string>(
HttpType.Get,
"/user/export_settings",
{},
Expand Down

0 comments on commit b2b290b

Please sign in to comment.