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

LibJS: Convert ZonedDateTime AOs to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-09-16 00:59:40 +03:00 committed by Linus Groh
parent 5a4c90fcb1
commit 1822b2938e
5 changed files with 7 additions and 7 deletions

View file

@ -33,6 +33,6 @@ private:
Object& m_calendar; // [[Calendar]]
};
ZonedDateTime* create_temporal_zoned_date_time(GlobalObject&, BigInt const& epoch_nanoseconds, Object& time_zone, Object& calendar, FunctionObject const* new_target = nullptr);
ThrowCompletionOr<ZonedDateTime*> create_temporal_zoned_date_time(GlobalObject&, BigInt const& epoch_nanoseconds, Object& time_zone, Object& calendar, FunctionObject const* new_target = nullptr);
}