Skip to content

Commit cfc73be

Browse files
authored
add Node and Element as known globals (#5601)
1 parent 9e0556c commit cfc73be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/utils/names.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export const globals = new Set([
1313
'decodeURI',
1414
'decodeURIComponent',
1515
'document',
16+
'Element',
1617
'encodeURI',
1718
'encodeURIComponent',
1819
'Error',
@@ -36,6 +37,7 @@ export const globals = new Set([
3637
'NaN',
3738
'navigator',
3839
'Number',
40+
'Node',
3941
'Object',
4042
'parseFloat',
4143
'parseInt',

0 commit comments

Comments
 (0)