1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

LibJS: Convert the NumberToBigInt AO to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-23 03:26:55 +03:00 committed by Andreas Kling
parent f7bafea661
commit 306c25f3c2
5 changed files with 8 additions and 16 deletions

View file

@ -27,6 +27,6 @@ private:
BigInt* js_bigint(Heap&, Crypto::SignedBigInteger);
BigInt* js_bigint(VM&, Crypto::SignedBigInteger);
BigInt* number_to_bigint(GlobalObject&, Value);
ThrowCompletionOr<BigInt*> number_to_bigint(GlobalObject&, Value);
}