Summary
Generated TypeScript for Node references FfiConverterBytes, but the symbol is never imported or declared.
Repro
Generate bindings with uniffi-bindgen-node generate .... The generated slatedb-node.ts contains call sites like:
let keyArg = FfiConverterBytes.lower(key);
but the import block only brings in FfiConverterArrayBuffer, and there is no alias or declaration for FfiConverterBytes.
Expected
The generated output should either import or emit FfiConverterBytes, or define an alias such as:
const FfiConverterBytes = FfiConverterArrayBuffer;
Actual
Consumers have to patch the generated file after codegen to avoid runtime failures.
Summary
Generated TypeScript for Node references
FfiConverterBytes, but the symbol is never imported or declared.Repro
Generate bindings with
uniffi-bindgen-node generate .... The generatedslatedb-node.tscontains call sites like:but the import block only brings in
FfiConverterArrayBuffer, and there is no alias or declaration forFfiConverterBytes.Expected
The generated output should either import or emit
FfiConverterBytes, or define an alias such as:Actual
Consumers have to patch the generated file after codegen to avoid runtime failures.