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 should be a generic #16561

Open
jasny opened this issue Oct 16, 2024 · 0 comments · May be fixed by #16562
Open

SelectedItemGroup: Type should be a generic #16561

jasny opened this issue Oct 16, 2024 · 0 comments · May be fixed by #16562
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@jasny
Copy link

jasny commented Oct 16, 2024

Describe the bug

While SelectItem is a generic, SelectedItemGroup is not.

Environment

N/A

Reproducer

No response

Angular version

18.2.8

PrimeNG version

17.18.11

Build / Runtime

TypeScript

Language

TypeScript

Node version (for AoT issues node --version)

n/a

Browser(s)

No response

Steps to reproduce the behavior

import { SelectItemGroup } from 'primeng/api';

const items: SelectItemGroup<string>;

Expected behavior

Type 'string' should be passed to type of items property.

@jasny jasny 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 16, 2024
@jasny jasny linked a pull request Oct 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant