1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:37:46 +00:00

LibJS: Convert the PromiseResolve AO to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-23 03:44:07 +03:00 committed by Andreas Kling
parent 0d602c5ec5
commit 81bdb20c61
4 changed files with 8 additions and 12 deletions

View file

@ -11,7 +11,7 @@
namespace JS {
Object* promise_resolve(GlobalObject&, Object& constructor, Value);
ThrowCompletionOr<Object*> promise_resolve(GlobalObject&, Object& constructor, Value);
class Promise final : public Object {
JS_OBJECT(Promise, Object);