5 lines
149 B
TypeScript
5 lines
149 B
TypeScript
type DOMElement = Window | Document | Element
|
|
|
|
export default function domToArray<T extends DOMElement, R extends DOMElement[]>(els: T | T[]): R[];
|
|
|