Skip to content

Commit

Permalink
mark optional
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated committed Oct 30, 2024
1 parent c100d30 commit ebbe9ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/oxc_ast/src/ast/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1448,6 +1448,7 @@ pub struct BindingPattern<'a> {
pub kind: BindingPatternKind<'a>,
#[ts]
pub type_annotation: Option<Box<'a, TSTypeAnnotation<'a>>>,
#[ts]
pub optional: bool,
}

Expand Down

0 comments on commit ebbe9ef

Please sign in to comment.