You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57
Current behavior
The Typescript definition of sortFunction in Column.d.ts does not match the description in the documentation. https://www.primefaces.org/primereact/#/datatable This causes Typescript errors when defining the sort function.
The Typescript definition is: sortFunction?(): void;
Expected behavior
The Typescript definition should be: sortFunction?({field:string, order:number}): any[];
Please tell us about your environment:
Windows 10, WebStorm
React version:
16.8.6
PrimeReact version:
3.1.2
Browser:
all
Language:
TypeScript
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
Current behavior
The Typescript definition of sortFunction in Column.d.ts does not match the description in the documentation. https://www.primefaces.org/primereact/#/datatable This causes Typescript errors when defining the sort function.
The Typescript definition is:
sortFunction?(): void;
Expected behavior
The Typescript definition should be:
sortFunction?({field:string, order:number}): any[];
Please tell us about your environment:
Windows 10, WebStorm
React version:
16.8.6
PrimeReact version:
3.1.2
Browser:
all
Language:
TypeScript
The text was updated successfully, but these errors were encountered: