convert to typescript files