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

Panel #icons template causes vue-tsc compile error #1698

Closed
jbrunken opened this issue Oct 25, 2021 · 0 comments
Closed

Panel #icons template causes vue-tsc compile error #1698

jbrunken opened this issue Oct 25, 2021 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working vue2-portable
Milestone

Comments

@jbrunken
Copy link
Contributor

Bug Report

PrimeVue: v3.8.2

Using the "#icons" template in a Panel causes vue-tsc compilation to fail with the following error:

 Element implicitly has an 'any' type because expression of type '"icons"' can't be used to index type '{ '': VNode<RendererNode, RendererElement, { [key: string]: any; }>[]; header: VNode<RendererNode, RendererElement, { ...; }>[]; }'.
  Property 'icons' does not exist on type '{ '': VNode<RendererNode, RendererElement, { [key: string]: any; }>[]; header: VNode<RendererNode, RendererElement, { ...; }>[]; }'.

The 3.8.2 release fixed a number of similar issues, but this one is still occurring.

Looking at Panel.d.ts, It doesn't have any definition for the "#icons" template.

@tugcekucukoglu tugcekucukoglu added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Nov 2, 2021
@tugcekucukoglu tugcekucukoglu added this to the 3.8.3 milestone Nov 2, 2021
@tugcekucukoglu tugcekucukoglu self-assigned this Nov 2, 2021
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 vue2-portable
Projects
None yet
Development

No branches or pull requests

2 participants