message: adjusted typing
diff: @@ -209,8 +209,7 @@ export declare type EntityFilter<entityType> = {
  Partial<OmitEB<entityType>>[Properties] extends (number | Date | undefined) ? ComparisonValueFilter<Partial<OmitEB<entityType>>[Properties]> :
  Partial<OmitEB<entityType>>[Properties] extends (string | undefined) ? ContainsStringValueFilter & ComparisonValueFilter<string> :
  Partial<OmitEB<entityType>>[Properties] extends (boolean | undefined) ? ValueFilter<boolean> :
  - Partial<OmitEB<entityType>>[Properties] extends ({ id: (number) } | undefined) ? IdFilter<number, Partial<OmitEB<entityType>>[Properties]> :
  - Partial<OmitEB<entityType>>[Properties] extends ({ id: (string) } | undefined) ? IdFilter<string, Partial<OmitEB<entityType>>[Properties]> :
  + Partial<OmitEB<entityType>>[Properties] extends ({ id: (string | number) } | undefined) ? IdFilter<Partial<OmitEB<entityType>>[Properties]> :
  ValueFilter<Partial<OmitEB<entityType>>[Properties]>) & ContainsStringValueFilter;
  } & {
  $or?: EntityFilter<entityType>[];
  @@ -235,8 +234,8 @@ export type ComparisonValueFilter<valueType> = ValueFilter<valueType> & {
  export interface ContainsStringValueFilter {
  $contains?: string,
  }
  -export type IdFilter<idType, valueType extends { id: idType }> = ValueFilter<valueType> | {
  - $id: ValueFilter<idType>;
  +export type IdFilter<valueType extends { id: (string | number) }> = ValueFilter<valueType> | {
  + $id: ValueFilter<valueType extends { id: number } ? number : string>;
  }
  