From f40079539ebad52a67550df1a068975c57a84e75 Mon Sep 17 00:00:00 2001 From: Patrick RoDee Date: Thu, 9 Jan 2020 16:31:15 -0800 Subject: [PATCH] WIP sneaky semicolons... --- packages/mdc-dom/ponyfill.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mdc-dom/ponyfill.ts b/packages/mdc-dom/ponyfill.ts index 2906988141b..100882e6a04 100644 --- a/packages/mdc-dom/ponyfill.ts +++ b/packages/mdc-dom/ponyfill.ts @@ -61,7 +61,7 @@ export function estimateScrollWidth(element: Element): number { // parent, the offsetParent property will be null (see // https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/offsetParent). // This check ensures we only clone the node when necessary. - const htmlEl = element as HTMLElement + const htmlEl = element as HTMLElement; if (htmlEl.offsetParent !== null) { return htmlEl.scrollWidth; }