Fix build after merging #35862

This commit is contained in:
Nathan Shively-Sanders 2020-03-30 15:12:16 -07:00
parent 3433434142
commit f17174ceb0
2 changed files with 3 additions and 3 deletions

View File

@ -31622,7 +31622,7 @@ namespace ts {
const childSymbol = getSymbolAtLocation(childNode);
if (childSymbol && childSymbol === testedFunctionSymbol) {
// If the test was a simple identifier, the above check is sufficient
if (isIdentifier(ifStatement.expression)) {
if (isIdentifier(condExpr)) {
return true;
}
// Otherwise we need to ensure the symbol is called on the same target

View File

@ -189,9 +189,9 @@ function A(stats: StatsBase<any>) {
console.log(`[Directory] ${stats.ctime}`)
>console.log(`[Directory] ${stats.ctime}`) : void
>console.log : (message?: any, ...optionalParams: any[]) => void
>console.log : (...data: any[]) => void
>console : Console
>log : (message?: any, ...optionalParams: any[]) => void
>log : (...data: any[]) => void
>`[Directory] ${stats.ctime}` : string
>stats.ctime : number
>stats : StatsBase<any>