LibJS: Convert Temporal.Duration functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 19:56:25 +01:00
commit 5e9e3f9dc8
Notes: sideshowbarker 2024-07-18 02:04:43 +09:00
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);
};
}