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:
parent
be475cd6a8
commit
6c8f0fbb35
4 changed files with 6 additions and 6 deletions
|
@ -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&);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue