select-dom
Advanced tools
Comparing version 4.2.0-0 to 4.2.0-1
// https://github.com/Microsoft/TypeScript/blob/9d3707d671592d030386956c9ce39e539b8d0972/src/lib/dom.generated.d.ts#L10581 | ||
type baseElements = Element | Element[] | NodeList | DocumentFragment; | ||
type BaseElements = Element | Element[] | NodeList | DocumentFragment; | ||
export interface SelectDom { | ||
export default interface SelectDom { | ||
<K extends keyof HTMLElementTagNameMap>( | ||
@@ -32,12 +32,12 @@ selectors: K, | ||
selectors: K, | ||
baseElements?: baseElements | ||
baseElements?: BaseElements | ||
): HTMLElementTagNameMap[K][]; | ||
all<K extends keyof SVGElementTagNameMap>( | ||
selectors: K, | ||
baseElements?: baseElements | ||
baseElements?: BaseElements | ||
): SVGElementTagNameMap[K][]; | ||
all<E extends Element = Element>( | ||
selectors: string, | ||
baseElements?: baseElements | ||
baseElements?: BaseElements | ||
): E[]; | ||
} |
{ | ||
"name": "select-dom", | ||
"version": "4.2.0-0", | ||
"version": "4.2.0-1", | ||
"description": "Extra lightweight DOM selector helper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6085