use tsify_next::Tsify; #[derive(Tsify)] #[tsify(into_wasm_abi, from_wasm_abi)] pub struct GenericStruct { x: T, } #[derive(Tsify)] #[tsify(into_wasm_abi, from_wasm_abi)] pub struct GenericNewtype(T);