Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate identifier 'number': DataScroller.d.ts #410

Closed
barniley opened this issue May 14, 2018 · 0 comments
Closed

Duplicate identifier 'number': DataScroller.d.ts #410

barniley opened this issue May 14, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@barniley
Copy link

Error message:
/node_modules/primereact/components/datascroller/DataScroller.d.ts
(13,25): Duplicate identifier 'number'.

The problem seems to be in this line:
onLazyLoad?({first: number, rows: number}): void;
It can be solved like this:
onLazyLoad?(p: {first: number, rows: number}): void;

@mertsincan mertsincan self-assigned this May 16, 2018
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label May 16, 2018
@mertsincan mertsincan added this to the 1.6.0 milestone May 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants