parent
e623f2acab
commit
613eafbda8
1 changed files with 510 additions and 61 deletions
|
|
@ -2089,6 +2089,7 @@ macro_rules! ts_union {
|
|||
(@declare_end $U:ident { $($declared:tt)* }) => {
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
#[serde(untagged)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
|
||||
pub enum $U {
|
||||
$($declared)*
|
||||
|
|
|
|||
Loading…
Reference in a new issue