title: BaseJQueryEventObject, JQueryEventObject, etc are deprecated. What do we replace it with?
body: <p>When you migrate from jQuery v2 to jQuery v3, interfaces like BaseJQueryEventObject on types definitions are deprecated.</p>
  
  <p>What is the replacement on code?</p>
  
  <p>For example, with angularjs, we have functions like this:</p>
  
  <pre><code>public keyDown($event: JQueryEventObject) {
      alert ($event.keyCode);
  }
  </code></pre>
  
  <p>And we receive a message like this:</p>
  
  <pre><code>ERROR: 18:28  deprecation  JQueryEventObject is deprecated.
  </code></pre>
  
  <p>Here is the new type definition: <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7a9ecd61d02e715adf369b191571007bd1a7c572/types/jquery/index.d.ts#L7546" rel="nofollow noreferrer">https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7a9ecd61d02e715adf369b191571007bd1a7c572/types/jquery/index.d.ts#L7546</a></p>