Add new VeilidTable and VeilidClient to WASM API
These new interfaces have been reworked (compared to the original API) to emit (mostly) proper TypeScript types.
This commit is contained in:
6
veilid-wasm/README.md
Normal file
6
veilid-wasm/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# veilid-wasm
|
||||
|
||||
## Notes
|
||||
|
||||
- [`wasm_bindgen`](https://rustwasm.github.io/wasm-bindgen/) is used to generate interop code between JavaScript and Rust, as well as basic TypeScript types.
|
||||
- [`tsify`](https://github.com/madonoharu/tsify) is used to export TypeScript types along-side [`wasm_bindgen`](https://rustwasm.github.io/wasm-bindgen/) and [`serde_wasm_bindgen`](https://github.com/cloudflare/serde-wasm-bindgen), and enables serialization/deserialization.
|
Reference in New Issue
Block a user