Skip to content

Commit

Permalink
Chore: Fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Apr 25, 2024
1 parent 04d82c3 commit 760274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/pagination/lines.mts
Expand Up @@ -58,7 +58,7 @@ export function lines<T>({
const renderItemAt = (index: number) => split(renderItem(layoutsInPage[index]!), width);

// Create a blank array of lines for the page
const pageBuffer = Array.from({ length: pageSize });
const pageBuffer: string[] = Array.from({ length: pageSize });

// Render the active item to decide the position
const activeItem = renderItemAt(requested).slice(0, pageSize);
Expand Down

0 comments on commit 760274f

Please sign in to comment.