diff --git a/packages/babel-traverse/src/path/family.ts b/packages/babel-traverse/src/path/family.ts index 457e5cea4206..109d6f1cc3a1 100644 --- a/packages/babel-traverse/src/path/family.ts +++ b/packages/babel-traverse/src/path/family.ts @@ -90,7 +90,7 @@ function normalCompletionToBreak(completions: Completion[]) { * * @param {Completion[]} completions * @param {boolean} reachable Whether the break statement is reachable after - we mark the noraml completions _before_ the given break completions as the final + we mark the normal completions _before_ the given break completions as the final completions. For example, `{ 0 }; break;` is transformed to `{ return 0 }; break;`, the `break` here is unreachable and thus can be removed without consequences. We may in the future reserve them instead since