What is the correct way to import Kendo when using TypeScript and RequireJS?
I have added the kendo.web.d.ts file to my typings folder in my project and then I tried to import kendo with the following code:
import kendo = require("kendo");
However, this I get the following error:
error TS2071: Build: Unable to resolve external module '"kendo"'.
I am able to import jQuery with the following code:
import $ = require("jquery");
And it does not have an issue. So I'm wondering what is needed to import Kendo.
Also, I found this post: http://www.telerik.com/forums/typescript-requirejs, where it mentions adding the "amd-dependency path", but that seems like extra work. I don't want to have to add that comment to each TypeScript file that uses Kendo. It seems like I should be able to use the import statement, like I can with other libraries (such as jQuery).
I have not found any documentation on this topic on the Kendo site, so any help would be greatly appreciated.
Thanks,
Sean