0
0
mirror of https://github.com/sveltejs/svelte.git synced 2024-12-01 17:30:59 +01:00

add Node and Element as known globals (#5601)

This commit is contained in:
Tan Li Hau 2020-10-29 00:24:21 +08:00 committed by GitHub
parent 9e0556cf70
commit cfc73be90f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,7 @@ export const globals = new Set([
'decodeURI',
'decodeURIComponent',
'document',
'Element',
'encodeURI',
'encodeURIComponent',
'Error',
@ -36,6 +37,7 @@ export const globals = new Set([
'NaN',
'navigator',
'Number',
'Node',
'Object',
'parseFloat',
'parseInt',