Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
English (United States) 简体中文
Sign in

Egor Nepomnyaschih

Avatar
  • Total activity 6
  • Last activity July 22, 2020 09:29
  • Member since July 14, 2020 17:58
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 1
Activity overview Posts (1) Comments (4)
Sort by recent activity Recent activity Votes
  • Created July 22, 2020 09:29
    I found out that this issue occurs very often, and not only with jQuery. TypeScript definition files of TypeScript itself, WebPack, jQuery and other libraries contain global definitions of a wide v...
    1. Community
    2. WebStorm
    3. Suggest jQuery import in TypeScript files
    • 0 votes
  • Edited July 15, 2020 15:29
    Ok, so likely this is a problem of the TypeScript definition files. I hoped that there is a way to configure it somehow in WebStorm project settings. Thank you.
    1. Community
    2. WebStorm
    3. Suggest jQuery import in TypeScript files
    • 0 votes
  • Edited July 15, 2020 07:16
    Elena, to save your time, I've prepared a minimal demo https://github.com/enepomnyaschih/jquery-test Please use a modern browser to launch it, as it doesn't use Babel. In src/with-import.ts, there'...
    1. Community
    2. WebStorm
    3. Suggest jQuery import in TypeScript files
    • 0 votes
  • Created July 14, 2020 20:12
    That's what I said: jQuery DOESN'T expose $ global object if you import it as ES6 module, and that's exactly how we use it. We don't want to litter the global namespace. So, your response doesn't a...
    1. Community
    2. WebStorm
    3. Suggest jQuery import in TypeScript files
    • 0 votes
Copyright © 2000– JetBrains s.r.o.