tsconvert supports optional methods. Initial work on type checker