mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibJS: Convert Temporal.Instant functions to ThrowCompletionOr
This commit is contained in:
parent
5e9e3f9dc8
commit
149231d47d
4 changed files with 153 additions and 167 deletions
|
@ -24,12 +24,12 @@ public:
|
|||
private:
|
||||
virtual bool has_constructor() const override { return true; }
|
||||
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_seconds);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_milliseconds);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_microseconds);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(from_epoch_nanoseconds);
|
||||
JS_DECLARE_OLD_NATIVE_FUNCTION(compare);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_seconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_milliseconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_microseconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(from_epoch_nanoseconds);
|
||||
JS_DECLARE_NATIVE_FUNCTION(compare);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue