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

Fix DerivedProperty parameter types #367

Closed samreid closed 2 years ago

samreid commented 2 years ago

Similar to #365 we can get better support if DerivedProperty's constructor JSDoc is more accurate.

samreid commented 2 years ago

Fixed in the commit. This required adjustment in geometric-optics and greenhouse. @pixelzoom can you please review, at least the part in geometric-optics?

pixelzoom commented 2 years ago

DerivedProperty and geometric-optics look good.

samreid commented 2 years ago

Thanks, closing.