Skip to content

Commit 747a448

Browse files
Rename float64 to f64
See WebAssembly/component-model#277
1 parent 291b948 commit 747a448

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gems/js/wit/js-runtime.wit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface js-runtime {
1414
instance-of: func(value: borrow<js-abi-value>, klass: borrow<js-abi-value>) -> bool;
1515
global-this: func() -> js-abi-value;
1616
int-to-js-number: func(value: s32) -> js-abi-value;
17-
float-to-js-number: func(value: float64) -> js-abi-value;
17+
float-to-js-number: func(value: f64) -> js-abi-value;
1818
string-to-js-string: func(value: string) -> js-abi-value;
1919
bool-to-js-bool: func(value: bool) -> js-abi-value;
2020
proc-to-js-function: func() -> js-abi-value;
@@ -23,7 +23,7 @@ interface js-runtime {
2323
js-value-to-string: func(value: borrow<js-abi-value>) -> string;
2424

2525
variant raw-integer {
26-
as-float(float64),
26+
as-float(f64),
2727
bignum(string),
2828
}
2929

0 commit comments

Comments
 (0)