Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
leaysgur committed Jan 23, 2025
1 parent e0e621b commit b93ae75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/oxc_prettier/src/format/js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ impl<'a> Format<'a> for ParenthesizedExpression<'a> {
impl<'a> Format<'a> for ImportExpression<'a> {
fn format(&self, p: &mut Prettier<'a>) -> Doc<'a> {
wrap!(p, self, ImportExpression, {
// TODO: Use `print_call_expression`?
let mut parts = Vec::new_in(p.allocator);
parts.push(text!("import"));
parts.push(text!("("));
Expand Down

0 comments on commit b93ae75

Please sign in to comment.