Implicit undefined return in function
Functions that return a value on some paths must not fall through implicitly.
#Metadata
#Why it matters
Mixed value-return and implicit-fallthrough paths are a common source of undefined behavior.
#Remediation
Return a value on every reachable path or make the function consistently void.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.implicit-undefined-return.rule.yaml.