$ errors.fyi/typescript/TS2355 74 namespaces · 3,092 codes
typescript · typescript/TS2355
TS2355

Function Missing Return Statement

A function whose return type is not `void` or `any` is missing a `return` statement in one or more code paths. Ensure all code paths return a value.

References

In this namespace

» community-maintained · contribute on GitHub npm i -g errors-fyi && errorfyi ENOENT