phetsims / axon

Axon provides powerful and concise models for interactive simulations, based on observable Properties and related patterns.
MIT License
10 stars 8 forks source link

Review UnitConversionProperty and MappedProperty #399

Open samreid opened 2 years ago

samreid commented 2 years ago

In https://github.com/phetsims/chipper/issues/1224 I simplified UnitConversionProperty to address optionize. I noticed there were no usages. I had to ts-ignore the super call because ts was confused. @jonathanolson can you please review UnitConversionProperty and MappedProperty, possibly as part of the upcoming TypeScript sprint?