node-sdl
node-sdl copied to clipboard
For MouseWheel event, type = 'flipped', should be 'mouseWheel'
In index.d.ts, line 65:
export interface MouseWheel extends MouseEvent {
readonly type: 'flipped'
readonly dx: number
readonly dy: number
readonly flipped: boolean
}
It's a simple fix to change line 65 to
readonly type: 'mouseWheel'
and I tested it locally, and will create a pull request from a fork (still learning about GitHub...)
Thanks a lot for the PR! I'll include this in the next release.