1 2 3 4 5 6 7 8 9 10 11
|
=== tests/cases/compiler/checkTypePredicateForRedundantProperties.ts ===
function addProp2(x: any): x is { a: string; a: string; } {
>addProp2 : Symbol(addProp2, Decl(checkTypePredicateForRedundantProperties.ts, 0, 0))
>x : Symbol(x, Decl(checkTypePredicateForRedundantProperties.ts, 0, 18))
>x : Symbol(x, Decl(checkTypePredicateForRedundantProperties.ts, 0, 18))
>a : Symbol(a, Decl(checkTypePredicateForRedundantProperties.ts, 0, 33), Decl(checkTypePredicateForRedundantProperties.ts, 0, 44))
>a : Symbol(a, Decl(checkTypePredicateForRedundantProperties.ts, 0, 33), Decl(checkTypePredicateForRedundantProperties.ts, 0, 44))
return true;
}
|