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

SelectedItemGroup type as generic #16562

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jasny
Copy link

@jasny jasny commented Oct 16, 2024

Make SelectedItemGroup a generic, passing the type to SelectItem.

export interface SelectItemGroup<T = any> {
    label: string;
    value?: any;
    items: SelectItem<T>[];
}

Fixes #16561

Make `SelectedItemGroup` a generic, passing the type to `SelectItem`.
Copy link

vercel bot commented Oct 16, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Oct 16, 2024 1:11pm
primeng-v18 ⬜️ Ignored (Inspect) Oct 16, 2024 1:11pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SelectedItemGroup: Type should be a generic
1 participant