Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alangpierce committed Jul 7, 2021
1 parent fdccc2a commit 453245b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/plugins/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ export function tsTryParseClassMemberWithIsStatic(isStatic: boolean): boolean {
const modifiersEndIndex = state.tokens.length;
const found = tsTryParseIndexSignature();
if (found) {
// Index signatures are type declarations, so set the modifiers tokens as
// Index signatures are type declarations, so set the modifier tokens as
// type tokens. Most tokens could be assumed to be type tokens, but `static`
// is ambiguous unless we set it explicitly here.
const memberStartIndex = isStatic
Expand Down

0 comments on commit 453245b

Please sign in to comment.