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

Typings for onBeforeTaskResizeFinalize are wrong #8644

Closed
marciogurka opened this issue Feb 20, 2024 · 0 comments
Closed

Typings for onBeforeTaskResizeFinalize are wrong #8644

marciogurka opened this issue Feb 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working forum Issues from forum OEM OEM customer resolved Fixed but not yet released (available in the nightly builds) typescript
Milestone

Comments

@marciogurka
Copy link

Forum post

"The types list the function signature for onBeforeTaskResizeFinalize is:

onBeforeTaskResizeFinalize?: ((event: {
        taskRecord: TaskModel;
        data: {
            source: Gantt;
            context: {
                async: boolean;
                finalize: Function;
            };
        };
    }) => void) | string;

but the value actually passed to the function does not have the data wrapper around context.
Screenshot 2024-02-20 at 1.30.39 PM.png
"

@marciogurka marciogurka added bug Something isn't working forum Issues from forum typescript OEM OEM customer labels Feb 20, 2024
@matsbryntse matsbryntse self-assigned this Feb 21, 2024
@matsbryntse matsbryntse added the ready for review Issue is fixed, the pull request is being reviewed label Feb 21, 2024
@matsbryntse matsbryntse added resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Mar 25, 2024
@matsbryntse matsbryntse added this to the 5.6.9 milestone Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer resolved Fixed but not yet released (available in the nightly builds) typescript
Projects
None yet
Development

No branches or pull requests

2 participants