https://doc.wikimedia.org/mediawiki-core/master/js/mw.notification.html#.notify
returns "Notification". This gets linked to the webapi https://developer.mozilla.org/en-US/docs/Web/API/Notification
It is however the internal Notification object: https://doc.wikimedia.org/mediawiki-core/master/js/mediawiki.notification_notification.js.html#line25
which is hidden from jsdoc because "The constructor is not publicly accessible; use [mw.notification.notify]{@link mw.notification} instead."
It's strange that we hide an internal object, that is part of the public API, and link to incorrect unrelated documentation at the same time.