Add support to directly type a function: ```py def test(a: A) -> bool: ... ``` expected ```ts function test(a: A): boolean ; ```
Add support to directly type a function:
expected