refactor(core): Removed readonly getters and changed to readonly (#19225)
variables
This commit is contained in:

committed by
Victor Berchet

parent
3aa3d5c548
commit
2b84b86fc0
@ -171,21 +171,13 @@ function invertMap(obj: {[name: string]: string}): {[name: string]: string} {
|
||||
class OverrideKindSymbol implements Symbol {
|
||||
public readonly kind: string;
|
||||
constructor(private sym: Symbol, kindOverride: string) { this.kind = kindOverride; }
|
||||
|
||||
get name(): string { return this.sym.name; }
|
||||
|
||||
get language(): string { return this.sym.language; }
|
||||
|
||||
get type(): Symbol|undefined { return this.sym.type; }
|
||||
|
||||
get container(): Symbol|undefined { return this.sym.container; }
|
||||
|
||||
get public(): boolean { return this.sym.public; }
|
||||
|
||||
get callable(): boolean { return this.sym.callable; }
|
||||
|
||||
get nullable(): boolean { return this.sym.nullable; }
|
||||
|
||||
get definition(): Definition { return this.sym.definition; }
|
||||
|
||||
members() { return this.sym.members(); }
|
||||
|
Reference in New Issue
Block a user