Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Api now returns any instead of object
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenmeier committed Feb 5, 2024
1 parent e3cc059 commit ca8379f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fire-lib-js",
"version": "0.3.0-alpha.2",
"version": "0.3.0-alpha.3",
"author": "Sören Meier <[email protected]>",
"type": "module",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/api/Api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class Api {
data?: object | null,
headers?: object,
opts?: object,
): Promise<object>;
): Promise<any>;

/**
* Send a request to the server with a file
Expand All @@ -57,7 +57,7 @@ export default class Api {
file: File,
progress: ((event: ProgressEvent) => void) | null,
headers: object,
): Promise<object>;
): Promise<any>;

/**
* Send a request to the server with a timeout
Expand All @@ -74,5 +74,5 @@ export default class Api {
data?: object | null,
headers?: object,
timeout?: number,
): Promise<object>;
): Promise<any>;
}

0 comments on commit ca8379f

Please sign in to comment.