Skip to content

Commit 92e3627

Browse files
authored
fix: TypeScript types colliding with globals (#8346)
1 parent 473c611 commit 92e3627

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/@react-aria/utils/src/useLoadMoreSentinel.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13-
import type {AsyncLoadable, Collection, Node} from '@react-types/shared';
13+
import type {AsyncLoadable, Collection} from '@react-types/shared';
1414
import {getScrollParent} from './getScrollParent';
1515
import {RefObject, useRef} from 'react';
1616
import {useEffectEvent} from './useEffectEvent';
1717
import {useLayoutEffect} from './useLayoutEffect';
1818

1919
export interface LoadMoreSentinelProps extends Omit<AsyncLoadable, 'isLoading'> {
20-
collection: Collection<Node<unknown>>,
20+
collection: Collection<any>,
2121
/**
2222
* The amount of offset from the bottom of your scrollable region that should trigger load more.
2323
* Uses a percentage value relative to the scroll body's client height. Load more is then triggered

0 commit comments

Comments
 (0)