phetsims / natural-selection

"Natural Selection" is an educational simulation in HTML5, by PhET Interactive Simulations
GNU General Public License v3.0
3 stars 7 forks source link

Add type AlleleAbbreviation #328

Closed pixelzoom closed 1 year ago

pixelzoom commented 1 year ago

Related to https://github.com/phetsims/natural-selection/issues/326 ...

Add a new type for allele abbreviations:

type AlleleAbbreviation = 'F' | 'f' | 'E' | 'e' | 'T' | 't';

Use it for GeneOptions dominantAbbreviationEnglish and recessiveAbbreviationEnglish.

pixelzoom commented 1 year ago

Done in Gene.ts, closing.