diff --git a/mw/Map.d.ts b/mw/Map.d.ts index 34b75b7..6806457 100644 --- a/mw/Map.d.ts +++ b/mw/Map.d.ts @@ -22,12 +22,9 @@ declare global { * @see https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.Map-method-get */ get(): V; - get, F>( - selection: S, - fallback?: F - ): Pick ? SS : never | F>; get>( - selection: S + selection: S, + fallback?: any ): Pick ? SS : never>; get(selection: S): V[S]; get(selection: S, fallback?: F): V[S] | F;