Skip to content

Commit

Permalink
refactor(codegen): add gen method to ast nodes (#3687)
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 15, 2024
1 parent 568b647 commit fa7a6ba
Show file tree
Hide file tree
Showing 2 changed files with 237 additions and 213 deletions.
1 change: 1 addition & 0 deletions crates/oxc_ast/src/ast/ts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,6 +1400,7 @@ impl ImportOrExportKind {

// [`JSDoc`](https://github.com/microsoft/TypeScript/blob/54a554d8af2657630307cbfa8a3e4f3946e36507/src/compiler/types.ts#L393)

/// `type foo = ty?` or `type foo = ?ty`
#[visited_node]
#[derive(Debug, Hash)]
#[cfg_attr(feature = "serialize", derive(Serialize, Tsify))]
Expand Down
Loading

0 comments on commit fa7a6ba

Please sign in to comment.