wikimedia-gadgets / types-mediawiki

TypeScript definitions for MediaWiki JS interface
GNU General Public License v3.0
23 stars 8 forks source link

Update types and add doc comments #31

Closed siddharthvp closed 10 months ago

siddharthvp commented 10 months ago

Update types and doc comments. Adapted from fork https://github.com/AnYiEE/types-mediawiki-renovate. The fork included many functions which incorrectly appeared in JSDuck docs but weren't actually accessible - I've removed them.

AnYiEE commented 10 months ago

Just a note.

the differences are as follows (5a0ccdb):

Thanks for your work.

In addition, I would like to ask how you will handle other methods that are marked as private but can actually be used?

siddharthvp commented 10 months ago

In addition, I would like to ask how you will handle other methods that are marked as private but can actually be used?

I suppose we could include them but mark as private either in JSDoc or using TypeScript's private modifier.