mirror of
https://github.com/outline/outline.git
synced 2026-12-03 10:00:13 +03:00
Change paginateFetch type
`paginateFetch` now has concrete types
This commit is contained in:
1 parent
a7fc3494c8
commit
175e9ca597
1 file changed
+3
-1
@@ -23,7 +23,9 @@ type Props = {
|
||||
className?: string;
|
||||
onSelect: (key: string | null | undefined) => void;
|
||||
searchable?: boolean;
|
||||
paginateFetch?: (options: any) => Promise<any[] | undefined>;
|
||||
paginateFetch?: (
|
||||
options: PaginatedItem
|
||||
) => Promise<PaginatedItem[] | undefined>;
|
||||
};
|
||||
|
||||
const FilterOptions = ({
|
||||
|
||||
Reference in new issue
Block a user