From 8f7b155e56dd74eccf7c5ffca379cc5c68c07429 Mon Sep 17 00:00:00 2001 From: Mathias Picker Date: Tue, 15 Feb 2022 09:15:41 +0100 Subject: [PATCH] Removed return type declaration --- src/runtime/internal/dom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/internal/dom.ts b/src/runtime/internal/dom.ts index 5b88f525f8..5543d63fb7 100644 --- a/src/runtime/internal/dom.ts +++ b/src/runtime/internal/dom.ts @@ -154,7 +154,7 @@ export function get_root_for_style(node: Node): ShadowRoot | Document { 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); return style.sheet; }