mirror of
https://github.com/xazukx/ts-rs.git
synced 2026-10-19 17:48:22 +00:00
Test 2 attributes
This commit is contained in:
+1
-1
@@ -102,6 +102,6 @@ enum InlineComplexEnum {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
#[ts(export)]
|
||||
struct ComplexStruct {
|
||||
#[serde(default)]
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub string_tree: Option<Rc<BTreeSet<String>>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user