Transitioning from jQuery v2 to jQuery v3, the interfaces such as BaseJQueryEventObject in type definitions are now deprecated.
What should be used as a replacement in the code?
For instance, when working with angularjs, functions may look like this:
public keyDown($event: JQueryEventObject) {
alert ($event.keyCode);
}
And an error message might be displayed like this:
ERROR: 18:28 deprecation JQueryEventObject is deprecated.
Here is the updated type definition: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/7a9ecd61d02e715adf369b191571007bd1a7c572/types/jquery/index.d.ts#L7546