You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, If this is not a suitable place for questions, feel free to close this issue.
As a skin developer, I have called to some variables defined in extensions like below without @wikimedia/types-wikimedia.
Good question. Ideally I think they'd be exported by the extension via npm, however we already had this problem with eventLog(Extension:EventLogging) and documented here so I think it would be fine to document in this repo for now https://github.com/wikimedia/typescript-types/blob/master/MediaWiki.d.ts#L79
Hi, If this is not a suitable place for questions, feel free to close this issue.
As a skin developer, I have called to some variables defined in extensions like below without @wikimedia/types-wikimedia.
code:
.d.ts
:And I want to replace it with the library but I don't know how to. I think I have two options:
About the second option, I couldn't find the syntax to extend global
mw
. (It may be because I am not familiar with TypeScript.)What should I do?
Regards.
The text was updated successfully, but these errors were encountered: