We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bigint
BigInt
1 parent a81983b commit 0c7126cCopy full SHA for 0c7126c
crates/cli-support/src/js/binding.rs
@@ -1304,7 +1304,7 @@ fn adapter2ts(ty: &AdapterType, dst: &mut String) {
1304
| AdapterType::U32
1305
| AdapterType::F32
1306
| AdapterType::F64 => dst.push_str("number"),
1307
- AdapterType::I64 | AdapterType::S64 | AdapterType::U64 => dst.push_str("BigInt"),
+ AdapterType::I64 | AdapterType::S64 | AdapterType::U64 => dst.push_str("bigint"),
1308
AdapterType::String => dst.push_str("string"),
1309
AdapterType::Externref => dst.push_str("any"),
1310
AdapterType::Bool => dst.push_str("boolean"),
0 commit comments