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

Loading…
Cancel
Save