mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
feat(codegen): indent inner class (#1085)
This commit is contained in:
parent
e8a4e81298
commit
cef78accf0
1 changed files with 2 additions and 0 deletions
|
|
@ -517,10 +517,12 @@ impl<'a, const MINIFY: bool> Gen<MINIFY> for Declaration<'a> {
|
|||
p.print_indent();
|
||||
p.print_space_before_identifier();
|
||||
decl.gen(p, ctx);
|
||||
p.print_soft_newline();
|
||||
}
|
||||
}
|
||||
Self::ClassDeclaration(decl) => {
|
||||
if !decl.is_typescript_syntax() {
|
||||
p.print_indent();
|
||||
p.print_space_before_identifier();
|
||||
decl.gen(p, ctx);
|
||||
p.print_soft_newline();
|
||||
|
|
|
|||
Loading…
Reference in a new issue