Skip to content

Commit c45723b

Browse files
committed
refactor(parser): fix typo in var name (#6500)
1 parent 7420620 commit c45723b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxc_parser/src/ts/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1135,14 +1135,14 @@ impl<'a> ParserImpl<'a> {
11351135
pub(crate) fn parse_ts_call_signature_member(&mut self) -> Result<TSSignature<'a>> {
11361136
let span = self.start_span();
11371137
let type_parameters = self.parse_ts_type_parameters()?;
1138-
let (this_patam, params) = self.parse_formal_parameters(FormalParameterKind::Signature)?;
1138+
let (this_param, params) = self.parse_formal_parameters(FormalParameterKind::Signature)?;
11391139
let return_type = self.parse_ts_return_type_annotation(Kind::Colon, false)?;
11401140
self.bump(Kind::Comma);
11411141
self.bump(Kind::Semicolon);
11421142
Ok(self.ast.ts_signature_call_signature_declaration(
11431143
self.end_span(span),
11441144
type_parameters,
1145-
this_patam,
1145+
this_param,
11461146
params,
11471147
return_type,
11481148
))

0 commit comments

Comments
 (0)