Skip to content

Commit 54862a2

Browse files
committed
fix typo in message
1 parent e7a4dd4 commit 54862a2

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
@@ -2292,7 +2292,7 @@
22922292
"category": "Error",
22932293
"code": 5062
22942294
},
2295-
"Substututions for patterns '{0}' should be an array.": {
2295+
"Substututions for pattern '{0}' should be an array.": {
22962296
"category": "Error",
22972297
"code": 5063
22982298
},

src/compiler/program.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1999,7 +1999,7 @@ namespace ts {
19991999
}
20002000
}
20012001
else {
2002-
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substututions_for_patterns_0_should_be_an_array, key));
2002+
programDiagnostics.add(createCompilerDiagnostic(Diagnostics.Substututions_for_pattern_0_should_be_an_array, key));
20032003
}
20042004
}
20052005
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
error TS5063: Substututions for patterns '*' should be an array.
1+
error TS5063: Substututions for pattern '*' should be an array.
22

33

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

0 commit comments

Comments
 (0)