File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21658,7 +21658,7 @@ namespace ts {
21658
21658
21659
21659
const related = map(
21660
21660
max > 1 ? allDiagnostics[minIndex] : flatten(allDiagnostics),
21661
- d => typeof d.messageText === ' string' ? (d as DiagnosticMessageChain) : d.messageText);
21661
+ d => typeof d.messageText === " string" ? (d as DiagnosticMessageChain) : d.messageText);
21662
21662
diagnostics.add(createDiagnosticForNodeFromMessageChain(node, chainDiagnosticMessages(related, Diagnostics.No_overload_matches_this_call)));
21663
21663
}
21664
21664
}
Original file line number Diff line number Diff line change @@ -7201,13 +7201,13 @@ namespace ts {
7201
7201
// }
7202
7202
7203
7203
function compareMessageText ( t1 : string | DiagnosticMessageChain , t2 : string | DiagnosticMessageChain ) : Comparison {
7204
- if ( typeof t1 === ' string' && typeof t2 === ' string' ) {
7204
+ if ( typeof t1 === " string" && typeof t2 === " string" ) {
7205
7205
return compareStringsCaseSensitive ( t1 , t2 ) ;
7206
7206
}
7207
- else if ( typeof t1 === ' string' ) {
7207
+ else if ( typeof t1 === " string" ) {
7208
7208
return Comparison . LessThan ;
7209
7209
}
7210
- else if ( typeof t2 === ' string' ) {
7210
+ else if ( typeof t2 === " string" ) {
7211
7211
return Comparison . GreaterThan ;
7212
7212
}
7213
7213
let res = compareStringsCaseSensitive ( t1 . messageText , t2 . messageText ) ;
@@ -7228,7 +7228,7 @@ namespace ts {
7228
7228
return res ;
7229
7229
}
7230
7230
for ( let i = 0 ; i < t1 . next . length ; i ++ ) {
7231
- res = compareMessageText ( t1 . next [ i ] , t2 . next [ i ] )
7231
+ res = compareMessageText ( t1 . next [ i ] , t2 . next [ i ] ) ;
7232
7232
if ( res ) {
7233
7233
return res ;
7234
7234
}
You can’t perform that action at this time.
0 commit comments