Warning: Javascript-Event deprecated in RubyMine
Hi,
RubyMine says, "event" is a deprecated symbol, ".. consult docs for better alternative".
i searched, but cannot find anything that "event" would be deprecated.
what is the reason?
and if, how cant i stop this warning?
thanks,
Chris

请先登录再写评论。
the IDE gets the information about deprecation from JSDoc annotations in library code; it's marked
@deprecatedinlib.dom.d.tslibrary file provided by Microsoft (see https://github.com/Microsoft/TypeScript/blob/master/lib/lib.dom.d.ts#L19501)You will get the same issue in other IDEs, BTW - see what it looks like in VSCode: