Object.on is overridden by CharmBase.on, which currently requires a type ignore.
This is probably user facing as well, since we also need a type: ignore in our testing tests -- see discussion here.
We should investigate if we can provide a nicer typing UX here without backwards incompatible changes.