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 |
||
---|---|---|
.. | ||
cli | ||
cli-src | ||
examples | ||
guide | ||
images | ||
marketing | ||
start | ||
tutorial | ||
file-not-found.md | ||
license.md | ||
navigation.json |