<commit_before>
export class TypeaheadMatch {
  public readonly value:string;
  protected readonly item:any;
  protected header:boolean;

  public constructor(item:any, value:string = item, header:boolean = false) {
    this.item = item;
    this.value = value;
    this.header = header;
  }

  public isHeader():boolean {
    return this.header;
  }

  public toString():string {
    return this.value;
  }
}
<commit_msg>chore(typeahead): Make TypeaheadMatch item public (#1362)<commit_after>
export class TypeaheadMatch {
  public readonly value:string;
  public readonly item:any;
  protected header:boolean;

  public constructor(item:any, value:string = item, header:boolean = false) {
    this.item = item;
    this.value = value;
    this.header = header;
  }

  public isHeader():boolean {
    return this.header;
  }

  public toString():string {
    return this.value;
  }
}

{'fraction_non_alphanumeric': 0.10847457627118644, 'fraction_numerical': 0.004519774011299435, 'mean_word_length': 3.7127659574468086, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5922331', 'n_tokens_mistral': 279, 'n_tokens_neox': 266, 'n_words': 69}