Fix typescript