Argument of type '{ resource: EduResourceCardObject & { primarySubject: { subject: string; }; gradeLevels: { gradeLevel: string; }[]; time: { time: string; }; __typename?: string | undefined; type?: string | undefined; ... 8 more ...; summary?: string | undefined; }; variant: any; compact: true; }' is not assignable to parameter of type '{ readonly resource: EduResourceCardObject; readonly compact?: boolean | undefined; readonly variant?: string | undefined; readonly showTime: boolean; } & ... 5 more ... & Record<...>'.