File tree 2 files changed +3
-3
lines changed
tests/baselines/reference
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31622,7 +31622,7 @@ namespace ts {
31622
31622
const childSymbol = getSymbolAtLocation(childNode);
31623
31623
if (childSymbol && childSymbol === testedFunctionSymbol) {
31624
31624
// If the test was a simple identifier, the above check is sufficient
31625
- if (isIdentifier(ifStatement.expression )) {
31625
+ if (isIdentifier(condExpr )) {
31626
31626
return true;
31627
31627
}
31628
31628
// Otherwise we need to ensure the symbol is called on the same target
Original file line number Diff line number Diff line change @@ -189,9 +189,9 @@ function A(stats: StatsBase<any>) {
189
189
190
190
console.log(`[Directory] ${stats.ctime}`)
191
191
>console.log(`[Directory] ${stats.ctime}`) : void
192
- >console.log : (message?: any, ...optionalParams : any[]) => void
192
+ >console.log : (...data : any[]) => void
193
193
>console : Console
194
- >log : (message?: any, ...optionalParams : any[]) => void
194
+ >log : (...data : any[]) => void
195
195
>`[Directory] ${stats.ctime}` : string
196
196
>stats.ctime : number
197
197
>stats : StatsBase<any>
You can’t perform that action at this time.
0 commit comments