Skip to content

Commit

Permalink
add Node and Element as known globals (#5601)
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau authored Oct 28, 2020
1 parent 9e0556c commit cfc73be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/compiler/utils/names.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const globals = new Set([
'decodeURI',
'decodeURIComponent',
'document',
'Element',
'encodeURI',
'encodeURIComponent',
'Error',
Expand All @@ -36,6 +37,7 @@ export const globals = new Set([
'NaN',
'navigator',
'Number',
'Node',
'Object',
'parseFloat',
'parseInt',
Expand Down

0 comments on commit cfc73be

Please sign in to comment.