For both js and ts generators, putting the type definitions in a separate `.d.ts` file helps with IDE tooling.
For both js and ts generators, putting the type definitions in a separate
.d.tsfile helps with IDE tooling.