Skip to content

Commit

Permalink
refactor(parser): fix typo in var name (#6500)
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Oct 13, 2024
1 parent 7420620 commit c45723b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_parser/src/ts/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1135,14 +1135,14 @@ impl<'a> ParserImpl<'a> {
pub(crate) fn parse_ts_call_signature_member(&mut self) -> Result<TSSignature<'a>> {
let span = self.start_span();
let type_parameters = self.parse_ts_type_parameters()?;
let (this_patam, params) = self.parse_formal_parameters(FormalParameterKind::Signature)?;
let (this_param, params) = self.parse_formal_parameters(FormalParameterKind::Signature)?;
let return_type = self.parse_ts_return_type_annotation(Kind::Colon, false)?;
self.bump(Kind::Comma);
self.bump(Kind::Semicolon);
Ok(self.ast.ts_signature_call_signature_declaration(
self.end_span(span),
type_parameters,
this_patam,
this_param,
params,
return_type,
))
Expand Down

0 comments on commit c45723b

Please sign in to comment.