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

LibJS: Use more specific return types for some Temporal AOs

Instead of returning Object* we should be specific and return Instant*,
TimeZone* etc.
This commit is contained in:
Linus Groh 2021-07-14 20:52:15 +01:00
parent be475cd6a8
commit 6c8f0fbb35
4 changed files with 6 additions and 6 deletions

View file

@ -23,8 +23,8 @@ private:
JS_DECLARE_NATIVE_FUNCTION(instant);
};
Object* system_time_zone(GlobalObject&);
TimeZone* system_time_zone(GlobalObject&);
BigInt* system_utc_epoch_nanoseconds(GlobalObject&);
Object* system_instant(GlobalObject&);
Instant* system_instant(GlobalObject&);
}