-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fixed ColumnSpec.editor type #3351
base: develop
Are you sure you want to change the base?
Conversation
- Now properly types the "params" variable of the given editor function
This fixes an issue with typescript and this format:
I do not understand why we were explicitly specifying |
@jskupsik should this still be a WIP draft, or is this ready for a review and (hopefully soon after) merge? |
# Conflicts: # CHANGELOG.md
Ready to be merged. |
Thanks much Jakub. @TomTirapani and @ghsolomon - if either of you have a chance to review (and merge if looking good), would appreciate it. Nice to keep the incremental TS improvements flowing. |
Note, ts will complain if you specify: Alternatively, we can make Thoughts? |
Thanks for putting this PR together, a couple of thoughts: a) Should we consider adding the b) Yes, I think we should make |
I agree with @TomTirapani but also see a couple other
It seems like maybe all of these should use the |
I have a different way that has it working:
with the trick this time being:
I was wrong, the issue actually was that ColumnEditorFn was Adding a dummy second argument to Thoughts on this version? |
Checking to see if we should catch up this PR and revisit? Looks like we've made some changes to the related types on develop, but not quite what we have here? |
Hoist P/R Checklist
Pull request authors: Review and check off the below. Items that do not apply can also be
checked off to indicate they have been considered. If unclear if a step is relevant, please leave
unchecked and note in comments.
develop
branch as of last change.breaking-change
label + CHANGELOG if so.If your change is still a WIP, please use the "Create draft pull request" option in the split
button below to indicate it is not ready yet for a final review.