mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Instead of prohibiting ‘return undefined’ (#8669), we require that a function must return an explicit value always or never. This prevents you from forgetting to return a value in some cases. It will also be important for TypeScript, which distinguishes between undefined and void. Signed-off-by: Anders Kaseorg <anders@zulip.com>
6.9 KiB
6.9 KiB