···11+---
22+"@hey-api/openapi-ts": patch
33+---
44+55+fix: prefer unknown type over any
+9
docs/openapi-ts/migrating.md
···52525353## v0.39.0
54545555+### Prefer `unknown` over `any`
5656+5757+Types that cannot be determined will now be generated as `unknown` instead of `any`.
5858+5959+```js
6060+200: any // [!code --]
6161+200: unknown // [!code ++]
6262+```
6363+5564### Single `enums.gen.ts` file
56655766Enums are now exported from a separate file. If you use imports from `models.ts`, you can change them to `enums.gen.ts`.