Removed return type declaration

pull/7260/head
Mathias Picker 5 years ago
parent b00cadf18b
commit 8f7b155e56

@ -154,7 +154,7 @@ export function get_root_for_style(node: Node): ShadowRoot | Document {
return node.ownerDocument; return node.ownerDocument;
} }
export function append_stylesheet(node: ShadowRoot | Document, style: HTMLStyleElement): CSSStyleSheet { export function append_stylesheet(node: ShadowRoot | Document, style: HTMLStyleElement) {
append((node as Document).head || node, style); append((node as Document).head || node, style);
return style.sheet; return style.sheet;
} }

Loading…
Cancel
Save