Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
chore: 🤖 fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Sep 4, 2022
1 parent 3fde2cf commit 4db4867
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/rome_js_parser/src/syntax/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use crate::syntax::function::{
use crate::syntax::js_parse_error;
use crate::syntax::js_parse_error::expected_simple_assignment_target;
use crate::syntax::js_parse_error::{
expected_expression, expected_identifier, invalid_assignment_error,
expected_expression, expected_identifier, invalid_assignment_error,
private_names_only_allowed_on_left_side_of_in_expression,
};
use crate::syntax::jsx::parse_jsx_tag_expression;
Expand Down
3 changes: 2 additions & 1 deletion crates/rome_js_parser/src/syntax/typescript/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,8 @@ pub(crate) fn parse_ts_type_arguments_in_expression(p: &mut Parser) -> ParsedSyn

#[inline]
pub fn can_follow_type_arguments_in_expr(cur_kind: JsSyntaxKind) -> bool {
matches!(cur_kind,
matches!(
cur_kind,
T!['(']
| BACKTICK
// These tokens can't follow in a call expression, nor can they start an
Expand Down

0 comments on commit 4db4867

Please sign in to comment.