diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index e091edb19eba..1985e7277dfd 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -10,6 +10,7 @@ export const globals = new Set([ 'clearTimeout', 'confirm', 'console', + 'CustomEvent', 'Date', 'decodeURI', 'decodeURIComponent',