From 0bfaf68a8215d27eaad9d57a8ad9e20fd1e77bb5 Mon Sep 17 00:00:00 2001 From: Andrew Jakubowicz Date: Mon, 16 Oct 2023 09:51:53 -0700 Subject: [PATCH] Update `renderRoot` type for Lit 3 PiperOrigin-RevId: 573842764 --- .../place_attribution/place_attribution_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/place_building_blocks/place_attribution/place_attribution_test.ts b/src/place_building_blocks/place_attribution/place_attribution_test.ts index c701732..b6c9386 100644 --- a/src/place_building_blocks/place_attribution/place_attribution_test.ts +++ b/src/place_building_blocks/place_attribution/place_attribution_test.ts @@ -19,7 +19,7 @@ function simpleStripComments(xml: string): string { } /** - * The inner HTML content of `renderRoot`, equivalent to `renderRoot.innerHTML` + * The inner HTML content of `renderRoot`, equivalent to `(renderRoot as {innerHTML: string}).innerHTML` * when its type is `HTMLElement`. This is needed because `DocumentFragment` * does not have the `innerHTML` property. */