Skip to content

Commit

Permalink
Merge pull request #28695 from fvlvte/24924-migrate-user.js-lib-to-ty…
Browse files Browse the repository at this point in the history
…pescript

[TS migration] Migrate 'User.js' lib to TypeScript
  • Loading branch information
roryabraham authored Jan 9, 2024
2 parents 115c393 + 140abb5 commit 0c5a2cb
Show file tree
Hide file tree
Showing 3 changed files with 281 additions and 268 deletions.
2 changes: 1 addition & 1 deletion src/libs/Network/SequentialQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function push(request: OnyxRequest) {
flush();
}

function getCurrentRequest(): OnyxRequest | Promise<void> {
function getCurrentRequest(): Promise<void> {
if (currentRequest === null) {
return Promise.resolve();
}
Expand Down
Loading

0 comments on commit 0c5a2cb

Please sign in to comment.