Function recursiveResolve

  • Resolves all promises in an object recursively. The promise with be replaced by the resolved value. The changes are therefore done in-place !

    Parameters

    • object: unknown

    Returns Promise<undefined | null | {}>