You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should return that promise but when you evaluate it, the result via the API is a promise with the result and then the returned promise is in turn resolved. This is JS behavior: nested promises are flattened. I.e. Promise<Promise<T>> cannot exist.
e.g.
(Promise.resolve 1)
should return that promise but when you evaluate it, the result via the API is a promise with the result and then the returned promise is in turn resolved. This is JS behavior: nested promises are flattened. I.e.
Promise<Promise<T>> cannot exist
.microsoft/TypeScript#27711
As such we should wrap evaluation results.
The text was updated successfully, but these errors were encountered: