diff --git a/src/compiler/utils/names.ts b/src/compiler/utils/names.ts index 53e9fce4a1..88d4d4a319 100644 --- a/src/compiler/utils/names.ts +++ b/src/compiler/utils/names.ts @@ -15,6 +15,7 @@ export const globals = new Set([ 'encodeURIComponent', 'Error', 'EvalError', + 'Event', 'history', 'Infinity', 'InternalError',