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

LibJS: Convert Temporal.Duration functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 19:56:25 +01:00
parent 2d2ba4eec6
commit 5e9e3f9dc8
4 changed files with 72 additions and 73 deletions

View file

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