<commit_before>// Copyright 2019-2020, University of Colorado Boulder

// @ts-nocheck
/**
 * A data structure that holds a string in its lowercase and capitalized form.
 * @author <NAME> (PhET Interactive Simulations)
 */

import sceneryPhet from '../sceneryPhet.js';

class StringCasingPair {

  /**
   * @param {string} lowercase
   * @param {string} capitalized
   */
  constructor( lowercase, capitalized ) {

    assert && assert( typeof lowercase === 'string' );
    assert && assert( typeof capitalized === 'string' );

    // @public (read-only)
    this.lowercase = lowercase;
    this.capitalized = capitalized;
  }
}

sceneryPhet.register( 'StringCasingPair', StringCasingPair );
export default StringCasingPair;<commit_msg>convert to TypeScript<commit_after>// Copyright 2019-2022, University of Colorado Boulder

/**
 * A data structure that holds a string in its lowercase and capitalized form.
 * @author <NAME> (PhET Interactive Simulations)
 */

import sceneryPhet from '../sceneryPhet.js';

export default class StringCasingPair {

  public readonly lowercase: string;
  public readonly capitalized: string;

  public constructor( lowercase: string, capitalized: string ) {
    this.lowercase = lowercase;
    this.capitalized = capitalized;
  }
}

sceneryPhet.register( 'StringCasingPair', StringCasingPair );
{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.012048192771084338, 'mean_word_length': 4.151162790697675, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4250475', 'n_tokens_mistral': 411, 'n_tokens_neox': 382, 'n_words': 118}