Skip to content

Commit f9c28eb

Browse files
committed
fix: fix type errors from rebase
1 parent 47ffeb3 commit f9c28eb

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

app/components/PackageList.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
<script setup lang="ts">
22
import type { NpmSearchResult } from '#shared/types'
33
import type { WindowVirtualizerHandle } from '~/composables/useVirtualInfiniteScroll'
4-
import type { ColumnConfig, PaginationMode, SortOption, ViewMode } from '#shared/types/preferences'
4+
import type {
5+
ColumnConfig,
6+
PageSize,
7+
PaginationMode,
8+
SortOption,
9+
ViewMode,
10+
} from '#shared/types/preferences'
511
import { DEFAULT_COLUMNS } from '#shared/types/preferences'
612
import { WindowVirtualizer } from 'virtua/vue'
713
@@ -20,7 +26,7 @@ const props = defineProps<{
2026
/** Whether currently loading more items */
2127
isLoading?: boolean
2228
/** Page size for tracking current page */
23-
pageSize?: number
29+
pageSize?: PageSize
2430
/** Initial page to scroll to (1-indexed) */
2531
initialPage?: number
2632
/** Selected result index (for keyboard navigation) */

0 commit comments

Comments
 (0)