We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[derive(Serialize)] #[typeshare] struct MyStruct { arc_mutex: Arc<Mutex<SomeOtherStruct>>, box: Box<SomeOtherStruct> }
The above currently outputs (in typescript)
export interface MyStruct { arc_mutex: Arc<Mutex<SomeOtherStruct>>, box: SomeOtherStruct, }
Similar to how Box is handled, should typeshare omit Arc and Mutex from the output? (serde automatically handles this too).
serde
I'm working around this like...
#![allow(unused)] use typeshare::typeshare; #[typeshare] type Arc<T> = T; #[typeshare] type Mutex<T> = T; #[typeshare] type RwLock<T> = T;
The text was updated successfully, but these errors were encountered:
I've just seen #134 nice!
Sorry, something went wrong.
No branches or pull requests
The above currently outputs (in typescript)
Similar to how Box is handled, should typeshare omit Arc and Mutex from the output? (
serde
automatically handles this too).I'm working around this like...
The text was updated successfully, but these errors were encountered: