Skip to content

Commit

Permalink
number[]
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Oct 18, 2024
1 parent 239838e commit 36a1f62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/cli-support/src/wasm2es6js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn interface(module: &Module) -> Result<String, Error> {
ret = match ty.results().len() {
0 => "void",
1 => "number",
_ => "any[]",
_ => "number[]",
},
));
}
Expand Down Expand Up @@ -147,7 +147,7 @@ pub fn typescript(module: &Module) -> Result<String, Error> {
ret = match ty.results().len() {
0 => "void",
1 => "number",
_ => "any[]",
_ => "number[]",
},
));
}
Expand Down

0 comments on commit 36a1f62

Please sign in to comment.