Closed
Description
interface I {
x: (p: number) => void;
}
var obj: I = {
get x() {
return q => { };
}
}
q has type any, but should be number.
This is related to #1610
8000
interface I {
x: (p: number) => void;
}
var obj: I = {
get x() {
return q => { };
}
}
q has type any, but should be number.
This is related to #1610