File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ type Scope = Element
3
3
| Document
4
4
5
5
// borrowed from DOM querySelectorAll
6
- declare function $ < K extends keyof HTMLElementTagNameMap > ( selectors : K , scope ?: Scope ) : NodeListOf < HTMLElementTagNameMap [ K ] > ;
7
- declare function $ < K extends keyof SVGElementTagNameMap > ( selectors : K , scope ?: Scope ) : NodeListOf < SVGElementTagNameMap [ K ] > ;
8
- declare function $ < E extends Element = Element > ( selectors : string , scope ?: Scope ) : NodeListOf < E > ;
6
+ declare function $ < K extends keyof HTMLElementTagNameMap > ( selectors : K , scope ?: Scope ) : HTMLElementTagNameMap [ K ] [ ] ;
7
+ declare function $ < K extends keyof SVGElementTagNameMap > ( selectors : K , scope ?: Scope ) : SVGElementTagNameMap [ K ] [ ] ;
8
+ declare function $ < E extends Element = Element > ( selectors : string , scope ?: Scope ) : E [ ] ;
9
9
declare function $ < W extends Window > ( selectors : W , scope ?: Scope ) : [ W ] ;
10
10
declare function $ < D extends Document > ( selectors : D , scope ?: Scope ) : [ D ] ;
11
11
You can’t perform that action at this time.
0 commit comments