Hi diskdance,
thanks for working on such TypeScript definitions, I am also a big fan
of static typing :)
I however think it would make the most sense to have the TypeScript
definitions directly in the OOUI/OOjs
repositories ...
Looking at
https://phabricator.wikimedia.org/T263914 it really seems
like TypeScript isn't yet embraced by MediaWiki as it should be ...
Sidenote regarding OO.inheritClass() ... I guess ideally the library
would use actual ES6 classes and deprecate whatever OO.inheritClass() is
(I am not that familiar with these libraries).
I am currently working on Python static typing for the MediaWiki Action
API ... looking at [1] perhaps we should start a Wikimedia user group
for developers interested in furthering static typing in and around
Wikimedia and MediaWiki? I think at least it would be nice to establish
some chat room around that topic ... I just created a Libera.Chat
channel #wikimedia-static-typing I think you should be able to join via:
* IRC: irc://irc.libera.chat/wikimedia-static-typing, or
* Matrix:
https://matrix.to/#/#wikimedia-static-typing:libera.chat
Cheers,
Martin (aka push-f)
[1]:
https://meta.wikimedia.org/wiki/Wikimedia_Rust_developers_user_group