fe1ada86e8
While JavaScript does support implicit returns, it seems TypeScript will not infer the function return type from the implicit return of the last statement (at least not in TS 3.4.3). So, when the `return` is missing from the `get` function the implicit type of the function is `void`. So for the `get` function to be usable it needs to an explicit return. PR Close #31434 |
||
---|---|---|
.. | ||
e2e/src | ||
src | ||
example-config.json | ||
stackblitz.json |