@@ -10,8 +10,8 @@ function(hljs) {
10
10
keyword :
11
11
'in if for while finally var new function|0 do return void else break catch ' +
12
12
'instanceof with throw case default try this switch continue typeof delete ' +
13
- 'let yield const class public private get set super interface extends ' +
14
- 'static constructor implements enum export import declare type protected' ,
13
+ 'let yield const class public private get set super ' +
14
+ 'static implements enum export import declare type protected' ,
15
15
literal :
16
16
'true false null undefined NaN Infinity' ,
17
17
built_in :
@@ -86,8 +86,7 @@ function(hljs) {
86
86
} ,
87
87
{
88
88
className : 'constructor' ,
89
- begin : 'constructor' , end : / \{ / , excludeEnd : true ,
90
- keywords : KEYWORDS ,
89
+ beginKeywords : 'constructor' , end : / \{ / , excludeEnd : true ,
91
90
relevance : 10
92
91
} ,
93
92
{
@@ -96,7 +95,8 @@ function(hljs) {
96
95
} ,
97
96
{
98
97
className : 'interface' ,
99
- beginKeywords : 'interface' , end : / \{ / , excludeEnd : true
98
+ beginKeywords : 'interface' , end : / \{ / , excludeEnd : true ,
99
+ keywords : 'interface extends'
100
100
} ,
101
101
{
102
102
begin : / \$ [ ( . ] / // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
0 commit comments