-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
kendo.all.d.ts: kendo.data.transports has no index signature #4031
Comments
@Stamo-Gochev @ag-petrov @ivanchev |
@DaleyKD |
I can try. I'm in Visual Studio 2017, using TypeScript 2.7.2. Fresh project. Only has all.ts and kendo.all.d.ts. This is my all.ts:
This is the error in my Error List:
Try setting |
@DaleyKD |
Any update on this? It'd be nice to fix the index.d.ts so that you can use a proper indexer. |
@DaleyKD This seems to be a general Typescript behavior. Could you please elaborate on how would you expect the declaration to be included in our typescript files? |
Well, that's not exactly right... that wouldn't work... but I hope it gives you a direction? |
I guess after some deeper research, is it even possible to do this? Since you guys are saying it's a "namespace," but are using it more like some kind of static class. I guess we can close this. I don't know if there's a solution other than to:
I hate converting things to any. :( |
Closing this for the moment because of the linked typescript issue that is still not addressed. |
@zdravkov : Looks like that issue is now addressed, maybe even fixed? Can we reevaluate this issue now? |
Currently, kendo.all.d.ts shows the following for
kendo.data.transports
:When trying to use the following code snippet:
TypeScript tells me:
Kendo UI for jQuery version 2018.1.221.
The text was updated successfully, but these errors were encountered: