We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b9b2c2 commit 2fd593fCopy full SHA for 2fd593f
src/compiler/utils/names.ts
@@ -5,6 +5,8 @@ export const globals = new Set([
5
'alert',
6
'Array',
7
'Boolean',
8
+ 'clearInterval',
9
+ 'clearTimeout',
10
'confirm',
11
'console',
12
'Date',
@@ -16,6 +18,9 @@ export const globals = new Set([
16
18
'Error',
17
19
'EvalError',
20
'Event',
21
+ 'fetch',
22
+ 'global',
23
+ 'globalThis',
24
'history',
25
'Infinity',
26
'InternalError',
@@ -41,11 +46,14 @@ export const globals = new Set([
41
46
'RegExp',
42
47
'sessionStorage',
43
48
'Set',
49
+ 'setInterval',
50
+ 'setTimeout',
44
51
'String',
45
52
'SyntaxError',
53
'TypeError',
54
'undefined',
55
'URIError',
56
+ 'URL',
57
'window'
58
]);
59
0 commit comments