Fixed up TypeScript generation, again.