add HTMLElement and SVGElement as known globals (#6665)

pull/6671/head
Vignesh 3 years ago committed by GitHub
parent 71cf6002f4
commit c216707c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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