See here:
Phaser ‘should’ already know the types of these parameters because they are defined by the drag
event.
(It is possible for typescript to work out the types of parameters based on the first string entered, I’ve done it myself elsewhere, see: node.js - Declaring events in a TypeScript class which extends EventEmitter - Stack Overflow)