//// [assignmentCompatWithCallSignatures2.ts]
// void returning call signatures can be assigned a non-void returning call signature that otherwise matches
var t;
var a;
t = a;
a = t;
var s;
var a2;
t = s;
t = a2;
a = s;
a = a2;
t = {
    f: function f() {
        return 1;
    }
};
t = {
    f: function f(x) {
        return 1;
    }
};
t = {
    f: function f() {
        return 1;
    }
};
t = {
    f: function f(x) {
        return '';
    }
};
a = {
    f: function f() {
        return 1;
    }
};
a = {
    f: function f(x) {
        return 1;
    }
};
a = {
    f: function f(x) {
        return '';
    }
};
// errors
t = function t() {
    return 1;
};
t = function t(x) {
    return '';
};
a = function a() {
    return 1;
};
a = function a(x) {
    return '';
};
var s2;
var a3;
// these are errors
t = s2;
t = a3;
t = function t(x) {
    return 1;
};
t = function t(x) {
    return '';
};
a = s2;
a = a3;
a = function a(x) {
    return 1;
};
a = function a(x) {
    return '';
};
