File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -813,8 +813,7 @@ module Emit =
813
813
let EmitQuerySelectorAllOverloads ( m : Browser.Method ) =
814
814
if matchSingleParamMethodSignature m " querySelectorAll" " NodeList" " string" then
815
815
Pt.Printl " querySelectorAll<K extends keyof ElementListTagNameMap>(selectors: K): ElementListTagNameMap[K];"
816
- Pt.Printl " querySelectorAll<E extends Element>(selectors: string): NodeListOf<E>;"
817
- Pt.Printl " querySelectorAll(selectors: string): NodeListOf<Element>;"
816
+ Pt.Printl " querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;"
818
817
819
818
let EmitHTMLElementTagNameMap () =
820
819
Pt.Printl " interface HTMLElementTagNameMap {"
Original file line number Diff line number Diff line change @@ -13738,8 +13738,7 @@ interface NodeSelector {
13738
13738
querySelector<K extends keyof ElementTagNameMap>(selectors: K): ElementTagNameMap[K] | null;
13739
13739
querySelector<E extends Element = Element>(selectors: string): E | null;
13740
13740
querySelectorAll<K extends keyof ElementListTagNameMap>(selectors: K): ElementListTagNameMap[K];
13741
- querySelectorAll<E extends Element>(selectors: string): NodeListOf<E>;
13742
- querySelectorAll(selectors: string): NodeListOf<Element>;
13741
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
13743
13742
}
13744
13743
13745
13744
interface RandomSource {
You can’t perform that action at this time.
0 commit comments