updated to current typescript version