updated ToTypeScript