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

LibJS: Convert to_i16() to ThrowCompletionOr

This commit is contained in:
Idan Horowitz 2021-10-17 23:44:25 +03:00
parent cc94bba5c0
commit 627b1205ce
3 changed files with 4 additions and 4 deletions

View file

@ -317,7 +317,7 @@ public:
ThrowCompletionOr<StringOrSymbol> to_property_key(GlobalObject&) const;
ThrowCompletionOr<i32> to_i32(GlobalObject& global_object) const;
ThrowCompletionOr<u32> to_u32(GlobalObject&) const;
i16 to_i16(GlobalObject&) const;
ThrowCompletionOr<i16> to_i16(GlobalObject&) const;
u16 to_u16(GlobalObject&) const;
i8 to_i8(GlobalObject&) const;
u8 to_u8(GlobalObject&) const;