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 'any': PickList.d.ts #290

Closed
proanja opened this issue Jan 19, 2018 · 1 comment
Closed

Duplicate identifier 'any': PickList.d.ts #290

proanja opened this issue Jan 19, 2018 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@proanja
Copy link

proanja commented Jan 19, 2018

Error message:
/node_modules/primereact/components/picklist/PickList.d.ts
[INFO] (17,38): error TS2300: Duplicate identifier 'any'.

The problem seems to be in this line:
onChange?({event: Event, source: any, target: any}): void;
And it can be solved like this:
onChange?(i: {event: Event, source: any, target: any}): void;

@cagataycivici cagataycivici self-assigned this Feb 6, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Feb 6, 2018
@cagataycivici cagataycivici added this to the 1.4.1 milestone Feb 6, 2018
@cagataycivici
Copy link
Member

Fixed for 1.4.1

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