Hacker News new | ask | show | jobs
by mpajunen 1707 days ago
No need to use null for this, undefined works equally well with noImplicitReturns.

For example: https://www.typescriptlang.org/play?#code/LAKAZgrgdgxgLgSwPZ...