Recently I have upgraded the pixi version of my project to 6.0.2. The first thing I noticed is that I can no longer get the event name hint by typing XXX.addListener() on DisplayObject. With pixi v5, I can get the hint of what kind of event I got there.
Second, what is the proper way to listen for the 'rightclick' event on DisplayObject in pixi v6? I can't find enough resources about this on Internet. Any help is highly appreciated!