mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-01-24 05:31:04 -05:00
779532b624
These new interfaces have been reworked (compared to the original API) to emit (mostly) proper TypeScript types. |
||
---|---|---|
.. | ||
src | ||
tests | ||
.gitignore | ||
Cargo.toml | ||
LICENSE.md | ||
README.md | ||
wasm_build.sh | ||
wasm-sourcemap.py |
veilid-wasm
Notes
wasm_bindgen
is used to generate interop code between JavaScript and Rust, as well as basic TypeScript types.tsify
is used to export TypeScript types along-sidewasm_bindgen
andserde_wasm_bindgen
, and enables serialization/deserialization.