File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 7
7
class TypeScript
8
8
{
9
9
public const RESERVED_KEYWORDS = [
10
+ 'await ' ,
10
11
'break ' ,
11
12
'case ' ,
12
13
'catch ' ,
@@ -18,19 +19,28 @@ class TypeScript
18
19
'delete ' ,
19
20
'do ' ,
20
21
'else ' ,
22
+ 'enum ' ,
21
23
'export ' ,
22
24
'extends ' ,
23
25
'false ' ,
24
26
'finally ' ,
25
27
'for ' ,
26
28
'function ' ,
27
29
'if ' ,
30
+ 'implements ' ,
28
31
'import ' ,
29
32
'in ' ,
30
33
'instanceof ' ,
34
+ 'interface ' ,
35
+ 'let ' ,
31
36
'new ' ,
32
37
'null ' ,
38
+ 'package ' ,
39
+ 'private ' ,
40
+ 'protected ' ,
41
+ 'public ' ,
33
42
'return ' ,
43
+ 'static ' ,
34
44
'super ' ,
35
45
'switch ' ,
36
46
'this ' ,
@@ -42,16 +52,6 @@ class TypeScript
42
52
'void ' ,
43
53
'while ' ,
44
54
'with ' ,
45
- 'public ' ,
46
- 'private ' ,
47
- 'protected ' ,
48
- 'static ' ,
49
- 'package ' ,
50
- 'let ' ,
51
- 'enum ' ,
52
- 'await ' ,
53
- 'implements ' ,
54
- 'interface ' ,
55
55
'yield ' ,
56
56
];
57
57
You can’t perform that action at this time.
0 commit comments