/** * Copies the style attributes of a DOM element. This does not copy read-only * properties * @param { HTMLElement } elem DOM element * @param { CSSStyleDeclaration } styles Style object * @returns { HTMLElement } elem */ export default function applyStyles(elem: N | null | undefined, styles: CSSStyleDeclaration | undefined): N;