forked from wikimedia-gadgets/types-mediawiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix & improve type inference on mw.Map & mw.config
- add missing `mw.config` properties & fix types of some properties, as suggested by @AnYiEE - fix optional keys being registered either as `null` or `undefined` - infer `mw.Map.get` return type from both selection type and fallback type - update scraper to infer whether a key is optional
- Loading branch information
Adrien LESÉNÉCHAL
committed
Jan 29, 2024
1 parent
b39860e
commit f0c3364
Showing
3 changed files
with
48 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters