phaser icon indicating copy to clipboard operation
phaser copied to clipboard

Input events are not typed correctly ('any', instead of 'string')

Open florestankorp opened this issue 2 years ago • 0 comments

Version

  • Phaser Version: 3.55.2
  • Operating system: macOS Monterey 12.4

Description

When trying to use the types for events I'm getting errors that the type is any, this should be fixed to string

Example Test Code

image

node_modules/phaser/types/phaser.d.ts

const POINTER_MOVE: any;
const POINTER_UP: any;

florestankorp avatar Jun 08 '22 13:06 florestankorp