Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve recursiveResolve jsDoc #276

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/utils/recursiveResolve.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/**
* wait recursively so that all promises are resolved
* need to go through all the nested objects and check if it is a promise
* if it is a promise, then await it
* Resolves all promises in an object recursively. The promise with be replaced by the resolved value.
* The changes are therefore done in-place !
* @param object
* @returns
*/
Expand Down
Loading