47bfec4e46
This commit adds generic to `isPromise` function to help with type inference. PR Close #34168
This commit adds generic to `isPromise` function to help with type inference. PR Close #34168