Skip to content

Commit

Permalink
Fix issue of type i64 in Rust not properly getting converted to BigIn…
Browse files Browse the repository at this point in the history
…t in TypeScript (#858)

* Fix issue of type i64 / u64  in Rust not properly getting converted to BigInt in TypeScript
  • Loading branch information
kdevcse authored Jan 19, 2025
1 parent a6a2881 commit 7cdf265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capi/bind_gen/src/wasm_bindgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ fn get_hl_type_without_null(ty: &Type) -> String {
"i8" => "number",
"i16" => "number",
"i32" => "number",
"i64" => "number",
"i64" => "BigInt",
"u8" => "number",
"u16" => "number",
"u32" => "number",
"u64" => "number",
"u64" => "BigInt",
"usize" => "number",
"isize" => "number",
"f32" => "number",
Expand Down

0 comments on commit 7cdf265

Please sign in to comment.