diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index 2a7e14bb9a..c642ed11e1 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -26,8 +26,8 @@ export const globals = new Set([ 'global', 'globalThis', 'history', - 'HTMLElement', 'HTMLCanvasElement', + 'HTMLElement', 'Infinity', 'InternalError', 'Intl',