Skip to content

[Errors] No error for function with return type annotation that lacks a return statement #62

Closed
@mhegazy

Description

@mhegazy

Code (should have an error):

function fn(): string {
}

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions