[go: up one dir, main page]

ts-rs-forge 11.0.1

Generate TypeScript bindings from Rust types (Namastex fork with use_ts_enum)
Documentation
1
2
3
4
5
6
7
use tokio::sync::{Mutex, OnceCell, RwLock};

use super::{impl_wrapper, TypeVisitor, TS};

impl_wrapper!(impl<T: TS> TS for Mutex<T>);
impl_wrapper!(impl<T: TS> TS for OnceCell<T>);
impl_wrapper!(impl<T: TS> TS for RwLock<T>);