From d65467c1150ec9cb5bc104ff8151a92cae800ec3 Mon Sep 17 00:00:00 2001 From: vicky1999 Date: Wed, 18 Aug 2021 19:29:46 +0100 Subject: [PATCH] add HTMLElement and SVGElement into globals --- src/compiler/utils/names.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index 255d56a218..1729c38efa 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -14,6 +14,8 @@ export const globals = new Set([ 'decodeURIComponent', 'document', 'Element', + 'HTMLElement', + 'SVGElement', 'encodeURI', 'encodeURIComponent', 'Error',