mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
LibJS: Convert iterable_to_list_of_type() to ThrowCompletionOr
This commit is contained in:
parent
683e31e1ff
commit
f2b5ddd167
3 changed files with 13 additions and 14 deletions
|
@ -84,7 +84,7 @@ struct SecondsStringPrecision {
|
|||
u32 increment;
|
||||
};
|
||||
|
||||
MarkedValueList iterable_to_list_of_type(GlobalObject&, Value items, Vector<OptionType> const& element_types);
|
||||
ThrowCompletionOr<MarkedValueList> iterable_to_list_of_type(GlobalObject&, Value items, Vector<OptionType> const& element_types);
|
||||
Object* get_options_object(GlobalObject&, Value options);
|
||||
Value get_option(GlobalObject&, Object const& options, PropertyName const& property, Vector<OptionType> const& types, Vector<StringView> const& values, Value fallback);
|
||||
template<typename NumberType>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue