mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:47:44 +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
|
@ -60,7 +60,7 @@ String default_time_zone()
|
|||
}
|
||||
|
||||
// 11.6.2 CreateTemporalTimeZone ( identifier [ , newTarget ] ), https://tc39.es/proposal-temporal/#sec-temporal-createtemporaltimezone
|
||||
Object* create_temporal_time_zone(GlobalObject& global_object, String const& identifier, FunctionObject* new_target)
|
||||
TimeZone* create_temporal_time_zone(GlobalObject& global_object, String const& identifier, FunctionObject* new_target)
|
||||
{
|
||||
auto& vm = global_object.vm();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue