Skip to content

Commit

Permalink
Added readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
VladLasitsa committed Apr 14, 2020
1 parent 05ea6f3 commit d2adc78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/plugins/data/public/search/aggs/agg_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class AggConfig {
private __type: IAggType;
private __typeDecorations: any;
private subAggs: AggConfig[] = [];
private fieldFormats: FieldFormatsStart;
private readonly fieldFormats: FieldFormatsStart;

constructor(
aggConfigs: IAggConfigs,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/data/public/search/aggs/agg_configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export type IAggConfigs = AggConfigs;
export class AggConfigs {
public indexPattern: IndexPattern;
public timeRange?: TimeRange;
private fieldFormats: FieldFormatsStart;
private readonly fieldFormats: FieldFormatsStart;
private readonly typesRegistry: AggTypesRegistryStart;

aggs: IAggConfig[];
Expand Down

0 comments on commit d2adc78

Please sign in to comment.