Fix TypeScript options in project being lost.