diff --git a/README.md b/README.md index 2ebe890..3fc4bda 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,9 @@ When running `cargo test`, the TypeScript bindings will be exported to the file - `uuid-impl` Implement `TS` for types from uuid +- `bson-uuid-impl` + + Implement `TS` for types from bson - `bytes-impl` Implement `TS` for types from bytes diff --git a/ts-rs/src/lib.rs b/ts-rs/src/lib.rs index 29b2ec1..8c0c7e1 100644 --- a/ts-rs/src/lib.rs +++ b/ts-rs/src/lib.rs @@ -81,8 +81,11 @@ //! Implement `TS` for types from bigdecimal //! - `uuid-impl` //! -//! Implement `TS` for types from uuid -//! - `bytes-impl` +//! Implement `TS` for types from uuid +//! - `bson-uuid-impl` +//! +//! Implement `TS` for types from bson +//! - `bytes-impl` //! //! Implement `TS` for types from bytes //! - `indexmap-impl` @@ -518,6 +521,8 @@ impl_wrapper!(impl TS for std::rc::Rc); impl_wrapper!(impl TS for std::borrow::Cow<'static, T>); impl_wrapper!(impl TS for std::cell::Cell); impl_wrapper!(impl TS for std::cell::RefCell); +impl_wrapper!(impl TS for std::sync::Mutex); +impl_wrapper!(impl TS for std::sync::Weak); impl_tuples!(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10);