Open kid-icarus opened 5 years ago
Example:
const foo = (function(): string { // No good! var foo = 'foo' return foo })()
Removing the return type annotation, everything works as expected:
This is a fundamental difficulty in the arrow function detection....
Example:
Removing the return type annotation, everything works as expected: