diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index acc9a437ca1..6638d2c409a 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -3072,7 +3072,7 @@ "category": "Error", "code": 5073 }, - "Option '--incremental' can only be speicified when using tsconfig.": { + "Option '--incremental' can only be specified when using tsconfig.": { "category": "Error", "code": 5074 }, diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 2d8c4d5e4c3..b65c8c0431c 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -2723,7 +2723,7 @@ namespace ts { } if (options.incremental && !options.configFilePath) { - programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_speicified_when_using_tsconfig)); + programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_when_using_tsconfig)); } if (options.composite) { diff --git a/tests/baselines/reference/invalidIncremental.errors.txt b/tests/baselines/reference/invalidIncremental.errors.txt index 6b6382e8f2e..cdd19e67093 100644 --- a/tests/baselines/reference/invalidIncremental.errors.txt +++ b/tests/baselines/reference/invalidIncremental.errors.txt @@ -1,7 +1,7 @@ -error TS5074: Option '--incremental' can only be speicified when using tsconfig. +error TS5074: Option '--incremental' can only be specified when using tsconfig. -!!! error TS5074: Option '--incremental' can only be speicified when using tsconfig. +!!! error TS5074: Option '--incremental' can only be specified when using tsconfig. ==== tests/cases/compiler/invalidIncremental.ts (0 errors) ==== const x = 10;