diff --git a/src/compiler/diagnosticMessages.json b/src/compiler/diagnosticMessages.json index c3ef03a9f34..0925f299215 100644 --- a/src/compiler/diagnosticMessages.json +++ b/src/compiler/diagnosticMessages.json @@ -2296,7 +2296,7 @@ "category": "Error", "code": 5062 }, - "Substututions for pattern '{0}' should be an array.": { + "Substitutions for pattern '{0}' should be an array.": { "category": "Error", "code": 5063 }, diff --git a/src/compiler/program.ts b/src/compiler/program.ts index 92e79936a0f..6b2a5c0def4 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -2021,7 +2021,7 @@ namespace ts { } } else { - programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substututions_for_pattern_0_should_be_an_array, key)); + programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substitutions_for_pattern_0_should_be_an_array, key)); } } } diff --git a/tests/baselines/reference/pathsValidation1.errors.txt b/tests/baselines/reference/pathsValidation1.errors.txt index c6193be67ac..a2d7be5f355 100644 --- a/tests/baselines/reference/pathsValidation1.errors.txt +++ b/tests/baselines/reference/pathsValidation1.errors.txt @@ -1,6 +1,6 @@ -error TS5063: Substututions for pattern '*' should be an array. +error TS5063: Substitutions for pattern '*' should be an array. -!!! error TS5063: Substututions for pattern '*' should be an array. +!!! error TS5063: Substitutions for pattern '*' should be an array. ==== tests/cases/compiler/a.ts (0 errors) ==== let x = 1; \ No newline at end of file