@@ -19,10 +19,10 @@ export const enum ContextKeyExprType {
1919}
2020
2121export interface IContextKeyExprMapper {
22- mapDefined ( key : string ) : ContextKeyDefinedExpr ;
23- mapNot ( key : string ) : ContextKeyNotExpr ;
24- mapEquals ( key : string , value : any ) : ContextKeyEqualsExpr ;
25- mapNotEquals ( key : string , value : any ) : ContextKeyNotEqualsExpr ;
22+ mapDefined ( key : string ) : ContextKeyExpr ;
23+ mapNot ( key : string ) : ContextKeyExpr ;
24+ mapEquals ( key : string , value : any ) : ContextKeyExpr ;
25+ mapNotEquals ( key : string , value : any ) : ContextKeyExpr ;
2626 mapRegex ( key : string , regexp : RegExp | null ) : ContextKeyRegexExpr ;
2727}
2828
@@ -190,7 +190,7 @@ function cmp(a: ContextKeyExpr, b: ContextKeyExpr): number {
190190}
191191
192192export class ContextKeyDefinedExpr implements ContextKeyExpr {
193- public static create ( key : string ) : ContextKeyExpr {
193+ public static create ( key : string ) : ContextKeyDefinedExpr {
194194 return new ContextKeyDefinedExpr ( key ) ;
195195 }
196196
@@ -424,7 +424,7 @@ export class ContextKeyNotExpr implements ContextKeyExpr {
424424
425425export class ContextKeyRegexExpr implements ContextKeyExpr {
426426
427- public static create ( key : string , regexp : RegExp | null ) : ContextKeyExpr {
427+ public static create ( key : string , regexp : RegExp | null ) : ContextKeyRegexExpr {
428428 return new ContextKeyRegexExpr ( key , regexp ) ;
429429 }
430430
0 commit comments