fix typo in message

This commit is contained in:
Vladimir Matveev 2016-04-13 21:36:36 -07:00
parent e7a4dd4cf5
commit 54862a27e2
3 changed files with 4 additions and 4 deletions

View file

@ -2292,7 +2292,7 @@
"category": "Error", "category": "Error",
"code": 5062 "code": 5062
}, },
"Substututions for patterns '{0}' should be an array.": { "Substututions for pattern '{0}' should be an array.": {
"category": "Error", "category": "Error",
"code": 5063 "code": 5063
}, },

View file

@ -1999,7 +1999,7 @@ namespace ts {
} }
} }
else { else {
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substututions_for_patterns_0_should_be_an_array, key)); programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substututions_for_pattern_0_should_be_an_array, key));
} }
} }
} }

View file

@ -1,6 +1,6 @@
error TS5063: Substututions for patterns '*' should be an array. error TS5063: Substututions for pattern '*' should be an array.
!!! error TS5063: Substututions for patterns '*' should be an array. !!! error TS5063: Substututions for pattern '*' should be an array.
==== tests/cases/compiler/a.ts (0 errors) ==== ==== tests/cases/compiler/a.ts (0 errors) ====
let x = 1; let x = 1;