mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 21:29:06 +00:00
LibJS: Convert parse_temporal_duration_string() to ThrowCompletionOr
This commit is contained in:
parent
3c530dec5a
commit
f86fa12deb
Notes:
sideshowbarker
2024-07-18 03:48:32 +09:00
Author: https://github.com/linusg
Commit: f86fa12deb
Pull-request: https://github.com/SerenityOS/serenity/pull/10065
Reviewed-by: https://github.com/IdanHo ✅
3 changed files with 4 additions and 8 deletions
|
@ -892,7 +892,7 @@ ThrowCompletionOr<ISODateTime> parse_temporal_date_time_string(GlobalObject& glo
|
|||
}
|
||||
|
||||
// 13.40 ParseTemporalDurationString ( isoString ), https://tc39.es/proposal-temporal/#sec-temporal-parsetemporaldurationstring
|
||||
Optional<TemporalDuration> parse_temporal_duration_string(GlobalObject& global_object, String const& iso_string)
|
||||
ThrowCompletionOr<TemporalDuration> parse_temporal_duration_string(GlobalObject& global_object, String const& iso_string)
|
||||
{
|
||||
(void)global_object;
|
||||
(void)iso_string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue