The : never
function, does not recognize another : never
function it its body
#17408
Labels
Duplicate
An existing issue was already created
TypeScript Version: 2.4.1
Code:
Expected behavior:
No compiler errors / warnings, since type annotation is present on function
foo
Actual behavior:
Compiler:
[ts] A function returning 'never' cannot have a reachable end point.
The text was updated successfully, but these errors were encountered: