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

AutoComplete: Typescript compilation error due to a typo in the t.ds definition file #2866

Closed
titou10titou10 opened this issue Aug 19, 2022 · 0 comments · Fixed by #2862
Closed
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@titou10titou10
Copy link
Contributor

Describe the bug

Compilation error for theAutoCompletecomponent due to a typo in the d.ts definition file, for theoptionGroupLabelattribute

node_modules/primevue/autocomplete/AutoComplete.d.ts:95:24 - error TS2552: Cannot find name 'AutoCompletenOptionLabelType'. Did you mean 'AutoCompleteOptionLabelType'?
95     optionGroupLabel?: AutoCompletenOptionLabelType;
                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/primevue/autocomplete/AutoComplete.d.ts:95

Reproducer

No response

PrimeVue version

3.16.1

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

  1. Create a view with theAutoCompletecomponent with TypeScript
  2. Compile the application, eg withvite: npm run build

Expected behavior

Application with theAutoComptetecomponent to compile in TypeScript

@titou10titou10 titou10titou10 added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Aug 19, 2022
@titou10titou10 titou10titou10 changed the title AutoComplete: Typescript compilation error due to a typo in tne t.ds definition file AutoComplete: Typescript compilation error due to a typo in the t.ds definition file Aug 19, 2022
@tugcekucukoglu tugcekucukoglu added this to the 3.17.0 milestone Aug 19, 2022
@tugcekucukoglu tugcekucukoglu self-assigned this Aug 19, 2022
tugcekucukoglu added a commit that referenced this issue Aug 19, 2022
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
2 participants