Nicolò Ribaudo 65d09e46a0
Don't check type annotations when deciding params scope (#11349)
* Don't check type annotations when deciding params scope

* Also type params
2020-04-05 23:43:20 +02:00

8 lines
87 B
JavaScript

function a(b: (c) => void = {}) {
let c;
}
function d(e = <T>() => {}) {
let T;
}