Infer function return type

Use the infer function return type refactoring to quickly add explicit type annotations to functions/methods in your TypeScript.

Useful if you want to make your code more explicit. You can also use it to modify the return type, such as making it nullable or extracting the type.