suppress hoist_props on export (#2463)
Miscellaneous - fix double semi-colons from `beautify` in `export` fixes #2462
This commit is contained in:
@@ -250,3 +250,13 @@ dynamic_import: {
|
||||
r.foo();
|
||||
}
|
||||
}
|
||||
|
||||
trailing_comma: {
|
||||
beautify = {
|
||||
beautify: true,
|
||||
}
|
||||
input: {
|
||||
export const a = 1;
|
||||
}
|
||||
expect_exact: "export const a = 1;"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user