-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Wrong typing for beforeColumnMove #5416
Comments
Note: same thing is happening for beforeRowMove. |
Thank you for sharing @guillaumep |
@wojciechczerniak @AMBudnik I approve of task #5094, where the issue I have logged should eventually be addressed, but can I suggest this current PR be merged in the sort term, so I and other Handsontable user can benefit from correct typings sooner? |
Hi @guillaumep we haven't scheduled the epic nor the PR yet but will surely consider adding the PR first |
@AMBudnik Is there something I can do to help this get merged? It has already been one month the PR has been opened. Do other contributors to Handsontable have to wait this long too? |
I will try to push the code review for #5425 to the next milestone |
@AMBudnik Thanks! |
Hi @guillaumep the changes are published. Please update to |
Documentation says about beforeColumnMove's arguments:
https://docs.handsontable.com/pro/5.0.2/Hooks.html#event:beforeColumnMove
But the typing in handsontable.d.ts has:
beforeColumnMove?: (startColumn: number, endColumn: number) => void;
It should be:
beforeColumnMove?: (columns: number[], target: number) => void;
The text was updated successfully, but these errors were encountered: