mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
feat(printer) Print Argument (#1280)
This commit is contained in:
parent
232b93ba41
commit
7182cc6ebe
1 changed files with 4 additions and 1 deletions
|
|
@ -595,7 +595,10 @@ impl<'a> Format<'a> for CallExpression<'a> {
|
|||
|
||||
impl<'a> Format<'a> for Argument<'a> {
|
||||
fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> {
|
||||
Doc::Line
|
||||
match self {
|
||||
Self::Expression(expr) => expr.format(p),
|
||||
Self::SpreadElement(expr) => expr.format(p),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue