Add historical alerts table #470
Annotations
4 errors
Typecheck:
src/views/HistoricalAlerts/index.tsx#L246
Argument of type '() => { filters: undefined; pagination: { offset: number; limit: number; }; } | { filters: { country: { pk: DjangoModelFilterInput; }; }; pagination: { offset: number; limit: number; }; }' is not assignable to parameter of type '() => Exact<{ filters?: InputMaybe<Admin1Filter> | undefined; pagination?: InputMaybe<OffsetPaginationInput> | undefined; }>'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L455
Type 'InputMaybe<DjangoModelFilterInput> | undefined' is not assignable to type 'OptionKey | null | undefined'.
|
Typecheck:
src/views/HistoricalAlerts/index.tsx#L456
Type '(...args: EntriesAsList<AlertFilter>) => void' is not assignable to type '((newValue: OptionKey, name: "country", value: { __typename?: "CountryType" | undefined; name: string; id: string; }) => void) | ((newValue: OptionKey | undefined, name: "country", value: { ...; } | undefined) => void)'.
|
Typecheck
Process completed with exit code 2.
|
Loading