Mouse.mousewheel not recognized by TypeScript
Author: NoahgamerrrCreated Dec 14, 2025Updated Feb 4, 2026
TypeScript throws a warning stating that Mouse.mousewheel does not exist. I found this when I was trying to reactivate scroll behaviour. The code works as intended, but it's still a bit annoying that TypeScript marks this as an error even though it's not.
Source: liabru/matter-js