diff --git a/src/compiler/builder.ts b/src/compiler/builder.ts index 40579969a48..e49a8b87e3f 100644 --- a/src/compiler/builder.ts +++ b/src/compiler/builder.ts @@ -280,7 +280,7 @@ export function getBuilderFileEmit(options: CompilerOptions) { } /** - * Determing what all is pending to be emitted based on previous options or previous file emit flags + * Determining what all is pending to be emitted based on previous options or previous file emit flags * * @internal */ @@ -1588,7 +1588,7 @@ export function createBuilderProgram(kind: BuilderProgramKind, { newProgram, hos info.signature = signature; } else { - // These are directly commited + // These are directly committed info.signature = signature; state.oldExportedModulesMap?.clear(); } diff --git a/src/compiler/builderState.ts b/src/compiler/builderState.ts index dc80a5e9d7f..d15d8aca513 100644 --- a/src/compiler/builderState.ts +++ b/src/compiler/builderState.ts @@ -84,11 +84,11 @@ export interface BuilderState { */ hasCalledUpdateShapeSignature?: Set; /** - * Stores signatures before before the update till affected file is commited + * Stores signatures before before the update till affected file is committed */ oldSignatures?: Map; /** - * Stores exportedModulesMap before the update till affected file is commited + * Stores exportedModulesMap before the update till affected file is committed */ oldExportedModulesMap?: Map | false>; /** diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 9df645a212d..891fe684b41 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -1249,7 +1249,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ affectsEmit: true, affectsBuildInfo: true, affectsDeclarationPath: true, - isFilePath: false, // This is intentionally broken to support compatability with existing tsconfig files + isFilePath: false, // This is intentionally broken to support compatibility with existing tsconfig files // for correct behaviour, please use outFile category: Diagnostics.Backwards_Compatibility, paramType: Diagnostics.FILE, @@ -2384,7 +2384,7 @@ export function convertToJson( // Currently having element option declaration in the tsconfig with type "object" // determines if it needs onSetValidOptionKeyValueInParent callback or not // At moment there are only "compilerOptions", "typeAcquisition" and "typingOptions" - // that satifies it and need it to modify options set in them (for normalizing file paths) + // that satisfies it and need it to modify options set in them (for normalizing file paths) // vs what we set in the json // If need arises, we can modify this interface and callbacks as needed return convertObjectLiteralExpressionToJson(objectLiteralExpression, option as TsConfigOnlyOption);