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

LibJS: Convert Temporal.PlainYearMonth functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 20:16:46 +01:00
parent e4e04528af
commit 15f52c5f8e
4 changed files with 104 additions and 106 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);
};
}