mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +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>
3.4 KiB
3.4 KiB