fixed typescript references