Skip to content

Explicit return type not required in TypeScript anymore #1413

@mofojed

Description

@mofojed

Description

Not sure when this changed, but we used to enforce an explicit return type. We're no longer doing that, and we should re-enable enforcing it it.

Steps to reproduce

  1. In the code, remove the return type from a function

Expected results

  1. Linter should fail, requiring a return type to be specified

Actual results

  1. Linter does not fail

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions