upgrade to newest typescript version
more changes due to upgrade version of ts