tsify 0.5.6

Tsify is a library for generating TypeScript definitions from rust code.
Documentation
1
2
3
4
5
6
7
8
9
use std::borrow::Cow;
use tsify::Tsify;

#[derive(Tsify)]
#[tsify(into_wasm_abi, from_wasm_abi)]
struct Borrow<'a> {
    raw: &'a str,
    cow: Cow<'a, str>,
}