From 453245b349ae8e93a79117a0d6ee2a4b4a9997e2 Mon Sep 17 00:00:00 2001 From: Alan Pierce Date: Tue, 6 Jul 2021 20:56:23 -0700 Subject: [PATCH] Fix typo --- src/parser/plugins/typescript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/plugins/typescript.ts b/src/parser/plugins/typescript.ts index d7f2d2a6..312c071e 100644 --- a/src/parser/plugins/typescript.ts +++ b/src/parser/plugins/typescript.ts @@ -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