fix rake task 'typescript:upgrade'