trezm/type-doc

Arrow Expressions without bodies are not handled well

trezm opened this issue · 1 comments

trezm commented

With code such as:

let someResult /* t:String */;
const test = (result) => someResult = result;
test(4);

TypeDoc blows up. I imagine this is because type inference isn't working when there's no BlockStatement.

runkit

trezm commented

Closed with #47