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

LibJS: Convert Temporal.PlainTime functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 20:15:01 +01:00
parent c8e359c25e
commit e4e04528af
4 changed files with 89 additions and 93 deletions

View file

@ -24,8 +24,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
JS_DECLARE_OLD_NATIVE_FUNCTION(compare);
JS_DECLARE_NATIVE_FUNCTION(from);
JS_DECLARE_NATIVE_FUNCTION(compare);
};
}