Skip to content

Commit

Permalink
Add note on TypeScript support
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser authored Sep 19, 2023
1 parent 6181335 commit 0138156
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,10 @@ pub struct Example {
}
```

## TypeScript support

There's no built-in type generation in this crate, but you can [tsify](https://github.com/madonoharu/tsify) with the `js` feature which integrates with `serde-wasm-bindgen` under the hood. Aside from generating structural typings, it also allows to derive `IntoWasmAbi` / `FromWasmAbi` so that you don't have to write `from_value` / `to_value` by hand.

## License

Licensed under the MIT license. See the
Expand Down

0 comments on commit 0138156

Please sign in to comment.