## The problem
Issue encoredev/encore#1774 (closed, 7 comments): Hi, In order to all my codebase to grow dynamically I would like to make my types change dynamically but the error from the title prevents me of doing so. ```typescript export type KeepNullable[T] = { [K in keyof T]: null extends T[K] ? T[K] : never; } extends infer O ? Pick[O, { [K in keyof O]: O[K] extends never ? never : K }[keyof O]] : never; ``` This is the piece of code in TypeScript that I suppose is the origin to this issue. Would it be possible to make this TypeScript feature accessible ? It would greatly improve the quality of the apps we are building with it ! Thanks !
## What to do
This error came from keyof patterns Encore did not support. Version 1.46.12 added support for them, and both examples from the thread were confirmed working on it. Upgrade to 1.46.12 or later.