fix: add explicit type annotation for examples array in LivePreview

Added explicit number[] type annotation to examples array to resolve
TypeScript implicit type inference error. This ensures the array type
is properly determined during compilation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-09-14 17:48:41 -05:00
parent 5841f3a52d
commit 6c49e0335e

View File

@@ -379,7 +379,7 @@ function getPreviewRange(range: string | undefined): string {
if (safeRange.includes('-')) {
const [start, end] = safeRange.split('-').map(n => parseInt(n) || 0)
const examples = []
const examples: number[] = []
// For larger ranges, distribute examples more evenly across the range
const rangeSize = end - start + 1