phetsims / bending-light

"Bending Light" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/bending-light
GNU General Public License v3.0
8 stars 8 forks source link

CT Fatal error: tsc failed with code: 1 #406

Closed KatieWoe closed 2 years ago

KatieWoe commented 2 years ago
bending-light : build
Build failed with status code 1:
Running "report-media" task

Running "clean" task

Running "build" task
Fatal error: tsc failed with code: 1
stdout:
js/common/view/WavelengthControl.ts(43,74): error TS2345: Argument of type '{ cursorStroke: string; maxWavelength: number; thumbWidth: number; thumbHeight: number; trackWidth: number; trackHeight: number; tweakersVisible: false; valueVisible: false; thumbTouchAreaYDilation: number; }' is not assignable to parameter of type 'WavelengthSliderOptions'.
Type '{ cursorStroke: string; maxWavelength: number; thumbWidth: number; thumbHeight: number; trackWidth: number; trackHeight: number; tweakersVisible: false; valueVisible: false; thumbTouchAreaYDilation: number; }' is missing the following properties from type 'Omit<SpectrumSliderOptions, "minValue" | "maxValue">': valueProperty, enabledRangeProperty

2 problems found.

stderr:

Snapshot from 3/29/2022, 10:41:48 PM
samreid commented 2 years ago

Likely duplicate of https://github.com/phetsims/bending-light/issues/405, closing.