Fix ts usage.