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

DataTable: Type definition doesn't match document #4662

Closed
zvn2060 opened this issue Oct 20, 2023 · 0 comments
Closed

DataTable: Type definition doesn't match document #4662

zvn2060 opened this issue Oct 20, 2023 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@zvn2060
Copy link

zvn2060 commented Oct 20, 2023

Describe the bug

The DataTable document says DataTableRowExpandEvent should hava an data: any.

However, in the DataTable.d.ts, it is any[]

/**
 * Custom row expand event.
 * @see {@link DataTableEmits['row-expand']}
 */
export interface DataTableRowExpandEvent {
    /**
     * Browser event
     */
    originalEvent: Event;
    /**
     * Expanded row data
     */
    data: any[];
}

Reproducer

_

PrimeVue version

3.37.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@zvn2060 zvn2060 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 20, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 27, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.42.0 milestone Nov 27, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants