Skip to content

Commit

Permalink
feat(oxc_ast): wrote document about VariableDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
re-taro authored and Boshen committed Aug 1, 2024
1 parent 80b7c24 commit 5fb665e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/oxc_ast/src/ast/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,9 @@ macro_rules! match_declaration {
}
pub use match_declaration;

/// Variable Declaration
/// `let a;` in `let a; a = 1;`
///
/// Represents a variable declaration, which can include a kind, declarations, and modifiers.
#[ast(visit)]
#[derive(Debug, Hash)]
#[cfg_attr(feature = "serialize", derive(Serialize, Tsify))]
Expand Down

0 comments on commit 5fb665e

Please sign in to comment.