remove duplicate instantiation of __jsx_generator.<T>
bugfix in transforming function statement
remove unneeded type annotations