summaryrefslogtreecommitdiff
path: root/packages/frontend/src/scripts/array.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/frontend/src/scripts/array.ts')
-rw-r--r--packages/frontend/src/scripts/array.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/scripts/array.ts b/packages/frontend/src/scripts/array.ts
index d83b001c87..082703a450 100644
--- a/packages/frontend/src/scripts/array.ts
+++ b/packages/frontend/src/scripts/array.ts
@@ -3,7 +3,8 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
-import { EndoRelation, Predicate } from './relation.js';
+type EndoRelation<T> = (a: T, b: T) => boolean;
+type Predicate<T> = (x: T) => boolean;
/**
* Count the number of elements that satisfy the predicate