Skip to content

Commit

Permalink
Rename float64 to f64
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Dec 17, 2024
1 parent 291b948 commit 747a448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/gems/js/wit/js-runtime.wit
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface js-runtime {
instance-of: func(value: borrow<js-abi-value>, klass: borrow<js-abi-value>) -> bool;
global-this: func() -> js-abi-value;
int-to-js-number: func(value: s32) -> js-abi-value;
float-to-js-number: func(value: float64) -> js-abi-value;
float-to-js-number: func(value: f64) -> js-abi-value;
string-to-js-string: func(value: string) -> js-abi-value;
bool-to-js-bool: func(value: bool) -> js-abi-value;
proc-to-js-function: func() -> js-abi-value;
Expand All @@ -23,7 +23,7 @@ interface js-runtime {
js-value-to-string: func(value: borrow<js-abi-value>) -> string;

variant raw-integer {
as-float(float64),
as-float(f64),
bignum(string),
}

Expand Down

0 comments on commit 747a448

Please sign in to comment.