Supporting TS return types that is currently missing (only argument types are preserved when using --fix)
How Can This Be Tested?
Added the TS compiler to the tests, to allow parsing TS AST correctly.
Added relevant test cases to follow all the existing JS cases, just with TS syntax.
Description (What)
Fixes #2
Justification (Why)
Supporting TS return types that is currently missing (only argument types are preserved when using
--fix
)How Can This Be Tested?
Added the TS compiler to the tests, to allow parsing TS AST correctly. Added relevant test cases to follow all the existing JS cases, just with TS syntax.