mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-10 09:33:51 +00:00
Enabled @typescript-eslint/unbound-method eslint rule again
This commit is contained in:
@@ -10,6 +10,6 @@ export interface GroupedNewVisits {
|
||||
|
||||
export const groupNewVisitsByType = pipe(
|
||||
groupBy((newVisit: CreateVisit) => isOrphanVisit(newVisit.visit) ? 'orphanVisits' : 'regularVisits'),
|
||||
// @ts-ignore-error Type declaration on groupBy is not correct. It can return undefined props
|
||||
// @ts-expect-error Type declaration on groupBy is not correct. It can return undefined props
|
||||
(result): GroupedNewVisits => ({ orphanVisits: [], regularVisits: [], ...result }),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user