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