Skip to content

Commit

Permalink
tag for-of-using decl correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
camc314 committed Sep 19, 2023
1 parent 760767f commit fb52030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_ast/src/ast/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,7 @@ impl ModuleExportName {
}

#[derive(Debug, Hash)]
#[cfg_attr(feature = "serde", derive(Serialize), serde(rename_all = "camelCase"))]
#[cfg_attr(feature = "serde", derive(Serialize), serde(tag = "type", rename_all = "camelCase"))]
pub struct UsingDeclaration<'a> {
#[cfg_attr(feature = "serde", serde(flatten))]
pub span: Span,
Expand Down

0 comments on commit fb52030

Please sign in to comment.