mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-12 22:41:27 +00:00
Improve date binding compatibility
This commit is contained in:
@ -1,10 +1,12 @@
|
||||
export declare function UTC(
|
||||
// NOTE: Using i32 below saves us a f64.convert_s instruction and moves the responsibility for
|
||||
// converting the value to the WASM/JS boundary.
|
||||
year: i32,
|
||||
month: i32,
|
||||
day: i32,
|
||||
hour: i32,
|
||||
minute: i32,
|
||||
second: i32,
|
||||
millisecond: i32
|
||||
millisecond: f64
|
||||
): f64;
|
||||
export declare function now(): f64;
|
||||
|
Reference in New Issue
Block a user