🔨 refactor(HighlightCard.tsx): remove unused imports and interfaces #2071
Annotations
4 errors and 1 warning
src/pages/Campaign/useWidgets/Experience/widgets/Insights/index.tsx#L111
Type 'Insight[]' is not assignable to type '{ id: number; title: string; description?: string | undefined; severity: { id: number; name?: string | undefined; }; cluster: { id?: number | undefined; name?: string | undefined; }[] | "all"; video?: { ...; }[] | undefined; }[]'.
|
src/pages/Campaign/useWidgets/Experience/widgets/Insights/index.tsx#L129
Type 'Insight' is not assignable to type '{ id: number; title: string; description?: string | undefined; severity: { id: number; name?: string | undefined; }; cluster: { id?: number | undefined; name?: string | undefined; }[] | "all"; video?: { ...; }[] | undefined; }'.
|
src/pages/Campaign/useWidgets/Experience/widgets/Insights/index.tsx#L133
Property 'video' is missing in type '{ videoPart: { id: number; start: number; end: number; mediaId: number; url: string; streamUrl: string; description: string; }; index: number; insight: Insight; onClick: () => void; }' but required in type '{ video: { url: string; streamUrl: string; start: number; end: number; description?: string | undefined; }; index: number; insight: { id: number; title: string; description?: string | undefined; severity: { ...; }; cluster: { ...; }[] | "all"; video?: { ...; }[] | undefined; }; onClick?: (() => void) | undefined; }'.
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading