Build error with latest @types/jquery version - 3.2.0
See original GitHub issueHi Team,
The latest builds with webpack are failing since last 12 hours for 17.1.3 version.
I looked into the issue and found that the latest version for @types/jquery (version - 3.2.0) is causing the issue. I found this thread for the same.
Then I looked into the package.json for devextreme and I believe below is the issue:
"devDependencies": {
"@types/jquery": "^2.0.34",
.....
}
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
jQuery Core 3.0 Upgrade Guide
We strongly recommend that you use this plugin as an upgrading tool, it will give specific advice about most of the major changes...
Read more >How to get TypeScript definitions file for a particular version of ...
ts file on GitHub (the latest version), the first line says Type definitions for jQuery 1.10.x / 2.0.x. There are no types created...
Read more >@types/jquery - npm
Latest version : 3.5.14, last published: 10 months ago. ... TypeScript icon, indicating that this package has built-in type declarations.
Read more >types jquery index.d.ts error - DevExpress Support
This issue relates to your TypeScript version. The jQuery TypeScript definition of version 3.2+ requires TypeScript of version 2.3+. Make ...
Read more >jQuery is not defined: Common causes and a simple solution
The most obvious cause of this error is that you forgot to include jQuery before you used it, but there are also more...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mustafasadikot @StephanHartmann It looks like jQuery updated their typings so that they need TypeScript 2.3+. At the moment, explicitly specify a version of the
@types/jquery
package to2.0.34
or upgrade your TypeScript version to 2.3+. We will think about a better solution from our side in version 17.2 because if we apply corresponding changes now, it will be a breaking change for existing projects.@NN--- It looks like this is a fix for the
Cannot find name 'Iterable'
error. But, it does not fix the',' expected
error.