Skip to content

DataView: Types are not matched in TS template #8528

@13RTK

Description

@13RTK

Describe the bug

The TypeScript template in DataView#pagination has some omitted types; this error will not occur in StackBlitz
Image

Image

Reproducer

No response

System Information

System:
    OS: macOS 26.3.1
    CPU: (10) arm64 Apple M4
    Memory: 1.09 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.14.1 - /Users/alex/.vite-plus/js_runtime/node/24.14.1/bin/node
    npm: 11.11.0 - /Users/alex/.vite-plus/js_runtime/node/24.14.1/bin/npm
    pnpm: 10.33.0 - /Users/alex/Library/pnpm/pnpm
    bun: 1.3.11 - /Users/alex/.bun/bin/bun
  Browsers:
    Chrome: 146.0.7680.180
    Firefox: 139.0.1
    Safari: 26.3.1
  npmPackages:
    primereact: ^10.9.7 => 10.9.7 
    react: ^19.2.4 => 19.2.5

Steps to reproduce the behavior

  1. Create a React-TypeScript project via vite
  2. Set up PrimeReact without tailwindcss
  3. Add DataView-Pagination template

Expected behavior

This template should be attached with the correct types

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: DocumentationIssue or pull request is related to Documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions