mpajunen·há 5 anos·discussNo need to use null for this, undefined works equally well with noImplicitReturns.For example: https://www.typescriptlang.org/play?#code/LAKAZgrgdgxgLgSwPZ...
For example: https://www.typescriptlang.org/play?#code/LAKAZgrgdgxgLgSwPZ...