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:
parent
0d602c5ec5
commit
81bdb20c61
4 changed files with 8 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue