add HTMLElement and SVGElement as known globals (#6665)

pull/7738/head
Vignesh 5 years ago committed by GitHub
parent c005a1727e
commit 3195fe2f42

@ -24,6 +24,7 @@ export const globals = new Set([
'global',
'globalThis',
'history',
'HTMLElement',
'Infinity',
'InternalError',
'Intl',
@ -36,8 +37,8 @@ export const globals = new Set([
'Math',
'NaN',
'navigator',
'Number',
'Node',
'Number',
'Object',
'parseFloat',
'parseInt',
@ -52,6 +53,7 @@ export const globals = new Set([
'setInterval',
'setTimeout',
'String',
'SVGElement',
'SyntaxError',
'TypeError',
'undefined',

Loading…
Cancel
Save