diff --git a/src/compat/_internal/ListIterateeCustom.ts b/src/compat/_internal/ListIterateeCustom.ts index aae4171fcd..2fa5b67235 100644 --- a/src/compat/_internal/ListIterateeCustom.ts +++ b/src/compat/_internal/ListIterateeCustom.ts @@ -1,5 +1,4 @@ -import { PartialShallow } from './PartialShallow.ts'; +import { IterateeShorthand } from './IterateeShorthand'; +import { ListIterator } from './ListIterator.ts'; -export type ListIterateeCustom = - | ((value: T, index: number, collection: ArrayLike) => R) - | (PropertyKey | [PropertyKey, any] | PartialShallow); +export type ListIterateeCustom = ListIterator | IterateeShorthand;