mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
fix(ast): correct TS type for ArrayAssignmentTarget (#2699)
`trailing_comma` field in JSON AST is camel case `trailingComma`.
This commit is contained in:
parent
89e8d1526f
commit
acf127be35
1 changed files with 1 additions and 1 deletions
|
|
@ -1027,7 +1027,7 @@ pub enum AssignmentTargetPattern<'a> {
|
|||
// See serializer in serialize.rs
|
||||
#[derive(Debug, Hash, SerAttrs)]
|
||||
#[cfg_attr(feature = "wasm", derive(Tsify))]
|
||||
#[serde(tag = "type")]
|
||||
#[serde(tag = "type", rename_all = "camelCase")]
|
||||
pub struct ArrayAssignmentTarget<'a> {
|
||||
#[serde(flatten)]
|
||||
pub span: Span,
|
||||
|
|
|
|||
Loading…
Reference in a new issue