Skip to content

Commit

Permalink
feat: 代码解析支持装饰器
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed Oct 10, 2023
1 parent 9c5f5d7 commit c5d8522
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/document.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ impl JSXDocument {
let lexer = Lexer::new(
Syntax::Typescript(TsConfig {
tsx: true,
decorators: true,
..Default::default()
}),
EsVersion::Es2019,
Expand Down

0 comments on commit c5d8522

Please # to comment.