gjs now enforces this in its eslint configuration. Adding type information generally is a good idea, so add appropriate comments to public functions before picking up that configuration change. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/180>