message: fix: optionalize handle arrays better. Thx yui
diff: @@ -1311,7 +1311,14 @@ export type KeysWithUndefined<T> = {
  : never;
  }[keyof T];
  -export type Optionalize<T> = T extends Collection<any, any> ? T : T extends object ? Id<
  +export type Optionalize<T> =
  + // Collections don't need optionalizing
  + T extends Collection<any, any> ? T
  + // If an array only optionalize objects in arrays
  + : T extends unknown[] ? T[number] extends Record<any, any> ? Array<Optionalize<T[number]>>
  + : T
  + // Specific optionalizing of {} go here
  + : T extends object ? Id<
  & {
  [K in KeysWithUndefined<T>]?: T[K] extends Collection<any, any> ? T[K] : Optionalize<T[K]>;
  }
  