This is a migrated thread and some comments may be shown as answers.

Typescript; Duplicate overload signature for 'data'.

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Stacey
Top achievements
Rank 1
Stacey asked on 18 Jan 2014, 06:59 PM
Adding the newest kendo.d.ts to my project along with the jquery.d.ts file gives me the following error ...

'Duplicate overload signature for 'data''

This occurs on line 9699 of the file, where the code reads ...

data(key: string): any;
Commenting it out works fine, but I do not like to have to mess with the vendor files like this. I am using the jQuery typescript definitions at Definitely Typed because the native jQuery one from the typescript website fails to even compile.

I am absolutely in love with Typescript, and I am adoring how Kendo integrates with it, but is there any chance this can get updated?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 20 Jan 2014, 08:42 AM
Hi Stacey,

It seems this is caused by an updated version of the definitely typed jQuery definition. Updating that line in kendo.all.d.ts to:

data(key: any): any;

Seems to solve the compilation error. We will update that in our code and the fix will appear in the next internal build.

Regards,
Atanas Korchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Stacey
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or