Improved typescript version