Skip to content

Commit 722afc1

Browse files
committed
Fix typo
1 parent 34c3233 commit 722afc1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/compiler/diagnosticMessages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3072,7 +3072,7 @@
30723072
"category": "Error",
30733073
"code": 5073
30743074
},
3075-
"Option '--incremental' can only be speicified when using tsconfig.": {
3075+
"Option '--incremental' can only be specified when using tsconfig.": {
30763076
"category": "Error",
30773077
"code": 5074
30783078
},

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2723,7 +2723,7 @@ namespace ts {
27232723
}
27242724

27252725
if (options.incremental && !options.configFilePath) {
2726-
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_speicified_when_using_tsconfig));
2726+
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Option_incremental_can_only_be_specified_when_using_tsconfig));
27272727
}
27282728

27292729
if (options.composite) {

tests/baselines/reference/invalidIncremental.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
error TS5074: Option '--incremental' can only be speicified when using tsconfig.
1+
error TS5074: Option '--incremental' can only be specified when using tsconfig.
22

33

4-
!!! error TS5074: Option '--incremental' can only be speicified when using tsconfig.
4+
!!! error TS5074: Option '--incremental' can only be specified when using tsconfig.
55
==== tests/cases/compiler/invalidIncremental.ts (0 errors) ====
66
const x = 10;
77

0 commit comments

Comments
 (0)