v6.0.1: Incorrect type definitions?

0 Answers 163 Views
Error
RIS
Top achievements
Rank 1
Iron
RIS asked on 20 Dec 2024, 08:34 AM

I have just upgraded from version 5 to 6. Now the problem is that many types of events resolve to “(((...args: any[]) => void) | undefined”. In version <6, these were named events, which are also listed accordingly in the documentation. 
As a result, the projects can no longer be build. This also happens if version 6 is installed directly in an empty project.

Examples:

Are we doing something wrong here or are the type definitions incorrect?

Petar
Telerik team
commented on 24 Dec 2024, 01:33 PM

Hi, Sam. 

I've tried to reproduce the reported issue in the project attached to my reply but with no success. 

Can you please check the attached example and let me know if the issue is replicable on your end? If the project is working correctly, can you please try to edit it in a way the issue from the screenshots can be replicated?

When you are able to replicate the issue, please send us the edited project back for furhter investigation.

Last but not least, is there a chance that you are using Vue 2 in your project? I am asking this because with version 6.0.0 of the Kendo UI for Vue Native components, Vue 2 is no longer supported by the suite. More info about the Vue 2 end of support can be found on this link.

RIS
Top achievements
Rank 1
Iron
commented on 02 Jan 2025, 06:44 AM | edited

I just created a new Vue project and installed some Kendo components:

Version 5.2.0

 

Leigh
Top achievements
Rank 1
commented on 21 Jan 2025, 08:49 PM | edited

I have also encountered this problem with a new standard vue 3.5.13 vite project (typescript v~5.6.3).

It appears to happen on all kendo control events. For example, the RadioGroup (v6.0.1) change event:

<RadioGroup :id="props.id" :value="props.value" :checked="props.value" @change="handleOnChange" />
const handleOnChange = (ev: RadioGroupChangeEvent) => {
        ...
    }

 

Shows the error: 

Type '(ev: RadioGroupChangeEvent) => void' is not assignable to type '(...args: any[] | unknown[]) => any'.
Types of parameters 'ev' and 'args' are incompatible.
Type 'any[] | unknown[]' is not assignable to type '[ev: RadioGroupChangeEvent]'.
Type 'any[]' is not assignable to type '[ev: RadioGroupChangeEvent]'.
Target requires 1 element(s) but source may have fewer.ts-plugin(2322)

index.d.mts(2938, 1): The expected type comes from property 'onChange' which is declared here on type ...

 

The kendo type definition file defines onChange as:

onChange?: (...args: any[] | unknown[]) => any;

 

This stackblitz project illustrates the issue - error occurs when attempting to build.

RIS
Top achievements
Rank 1
Iron
commented on 23 Jan 2025, 01:14 PM

Vessy
Telerik team
commented on 24 Jan 2025, 10:18 AM

Hey, Sven,

Yes, this is the official item - thank you for sharing it. I have also increased its priority with this request.

RIS
Top achievements
Rank 1
Iron
commented on 30 Apr 2025, 04:29 AM

The bug has existed for several months. 
Is there something new and when will it be fixed?

Due to this bug the current version is not usable.
Ina
Telerik team
commented on 02 May 2025, 09:09 AM

Hi, Sven,

We are doing everything to address this issue as soon as possible. I have increased the item severity.

Apologies for any inconvenience this might have caused you. Please let me know if I can assist you further.

Timothy
Top achievements
Rank 1
commented on 07 May 2025, 12:27 AM

I am just now setting up some new Vue screens with kendo for Vue and Type script. I spent quite some time trying to figure out if I was causing this error for event handling and I am glad to see this issue here.

I see this was opened in Dec 2024 and is still an issue as of May 2025. Does that mean not many people are using Kendo Vue + TypeScript? or they found work arounds? or people just stay on Version 5? This is making me a little nervous about jumping in considering a basic File > New project is not usable?

Vessy
Telerik team
commented on 07 May 2025, 11:00 AM

Hi, Timothy, 

We totally understand your concerns, and we're really sorry for the trouble this bug has caused. It hadn't been prioritized earlier because other issues with higher priority—prioritized based on severity and recency. But thanks to the latest reports, this bug is now at the top of our backlog and scheduled for the upcoming sprint. We'll make sure to update its status once it's fixed.

Again, we're sorry for any uncertainty you felt about upgrading the product. If there's anything else I can help with, just let us know - we will be happy to assist.
Jordan
Top achievements
Rank 1
commented on 24 Oct 2025, 06:36 PM

As far as I can tell this is still an issue in 7.0.0.
Vessy
Telerik team
commented on 29 Oct 2025, 04:21 PM

Hi, Jordan,

You are correct—the issue with incorrect type definitions in Kendo UI for Vue is still present in version 7.0.0. This is due to the complexity of the problem and the fact that our development team has had to prioritize other critical issues first. However, our developers are actively investigating this issue, and it is receiving attention and should be plan for fixing soon.

RIS
Top achievements
Rank 1
Iron
commented on 30 Oct 2025, 05:51 AM

....type definitions in Kendo UI for Vue is still present in version 7.0.

Since you can only use the outdated versions 5 and 6 and not the current version 7, I would suggest that Telerik pause subscription payments for affected customers until this fundamental problem has been resolved. At least this prevents customers from using a current version.

Vessy
Telerik team
commented on 03 Nov 2025, 03:51 PM

Hi, Sven,

We sincerely apologise for the inconvenience caused by this issue but, unfortunately, we currently do not have a practice of pausing any the subscription payments. However, I’d like to share with you that the reported bug has already been in development phase and is actively being worked on by our development team.

No answers yet. Maybe you can help?

Tags
Error
Asked by
RIS
Top achievements
Rank 1
Iron
Share this question
or