phetsims / unit-rates

"Unit Rates" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 2 forks source link

Address `@ts-expect-error` #219

Closed pixelzoom closed 1 year ago

pixelzoom commented 1 year ago

Address occurrences of @ts-expect-error.

Then make this change in package.json:

-              "ts-expect-error": "allow-with-description",
+              "ts-expect-error": true
pixelzoom commented 1 year ago

There are 2 occurrences of @ts-expect-error, related to numeratorOptions and denominatorOptions. Those options are confused throughout, and will be cleaned in https://github.com/phetsims/unit-rates/issues/221. That will likely result in removing the @ts-expect-error comments.

pixelzoom commented 1 year ago

Addressed in https://github.com/phetsims/unit-rates/issues/221.