From 07bdb31a6b54f78fb9224aafbd94d858178ed7ee Mon Sep 17 00:00:00 2001 From: Dodothereal <129273127+Dodothereal@users.noreply.github.com> Date: Tue, 23 Jun 2026 18:58:59 +0200 Subject: [PATCH] chore: fix 'seperately'/'seperator' spelling in compiler/utilities comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two internal comment typos corrected to 'separately' and 'separator'. No string changes — purely source-comment spelling. Behaviour is unchanged. (Internal references to the words freed up for any future greps.) Closes no issue. --- src/compiler/utilities.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 38425f9ab052e..7f4236ad27e7d 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -9965,7 +9965,7 @@ export function getScriptKindFromFileName(fileName: string): ScriptKind { } /** - * Groups of supported extensions in order of file resolution precedence. (eg, TS > TSX > DTS and seperately, CTS > DCTS) + * Groups of supported extensions in order of file resolution precedence. (eg, TS > TSX > DTS and separately, CTS > DCTS) */ const supportedTSExtensions: readonly Extension[][] = [[Extension.Ts, Extension.Tsx, Extension.Dts], [Extension.Cts, Extension.Dcts], [Extension.Mts, Extension.Dmts]]; /** @internal */ @@ -10570,7 +10570,7 @@ export function isValidBigIntString(s: string, roundTripOnly: boolean): boolean // * scanning proceeded without error // * a bigint can be scanned, and that when it is scanned, it is // * the full length of the input string (so the scanner is one character beyond the augmented input length) - // * it does not contain a numeric seperator (the `BigInt` constructor does not accept a numeric seperator in its input) + // * it does not contain a numeric separator (the `BigInt` constructor does not accept a numeric separator in its input) return success && result === SyntaxKind.BigIntLiteral && scanner.getTokenEnd() === (s.length + 1) && !(flags & TokenFlags.ContainsSeparator) && (!roundTripOnly || s === pseudoBigIntToString({ negative, base10Value: parsePseudoBigInt(scanner.getTokenValue()) })); }