mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(parser): fix typo in var name (#6500)
This commit is contained in:
parent
74206204dd
commit
c45723be77
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
))
|
||||
|
|
|
|||
Loading…
Reference in a new issue