Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String constants are exported with multiple types in tsd. #69

Open
junhaoliao opened this issue Mar 5, 2025 · 1 comment
Open

String constants are exported with multiple types in tsd. #69

junhaoliao opened this issue Mar 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@junhaoliao
Copy link
Member

junhaoliao commented Mar 5, 2025

Bug

MERGED_KV_PAIRS_AUTO_GENERATED_KEY and MERGED_KV_PAIRS_USER_GENERATED_KEY are exported as EmbindString, which is a union of multiple different types.

type EmbindString = ArrayBuffer|Uint8Array|Uint8ClampedArray|Int8Array|string;

clp-ffi-js version

7dc03eb

Environment

Code issue; unrelated.

Reproduction steps

Inspect code

@davemarco
Copy link
Contributor

Note junhao believes this can be fixed by upgrading emscripten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants