This commit is contained in:
Sheetal Nandi 2019-03-21 09:01:52 -07:00
parent 34c3233d18
commit 722afc18bb
3 changed files with 4 additions and 4 deletions

View file

@ -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
},

View file

@ -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) {

View file

@ -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;