//// [mappedTypeAsClauseRelationships.ts]
// From original issue #45212:
function fun(val) {
    var x = val; // Ok
    var y = val; // Error
}
function fun2(val) {
    var x = val; // Ok
    var y = val; // Ok
    var z = val; // Error
    var w = val; // Error
}
