Skip to content

Commit

Permalink
remove usages of AnyScreen outside of joist, and update doc, phetsims…
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 9, 2023
1 parent d05c6c2 commit a2db5ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/view/numberCompareUtteranceQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import DerivedProperty from '../../../../axon/js/DerivedProperty.js';
import numberComparePreferences from '../model/numberComparePreferences.js';
import Property from '../../../../axon/js/Property.js';
import TReadOnlyProperty from '../../../../axon/js/TReadOnlyProperty.js';
import { AnyScreen } from '../../../../joist/js/Screen.js';

class NumberCompareUtteranceQueue extends NumberSuiteCommonUtteranceQueue {

Expand All @@ -41,7 +40,7 @@ class NumberCompareUtteranceQueue extends NumberSuiteCommonUtteranceQueue {
* to use for a given screen that the user is viewing. This is needed because selectedScreenProperty doesn't exist
* yet during the creation of this singleton.
*/
public initialize( selectedScreenProperty: TReadOnlyProperty<AnyScreen> ): void {
public initialize( selectedScreenProperty: TReadOnlyProperty<unknown> ): void {

const speechDataProperty = new DerivedProperty(
[ this.compareScreenSpeechDataProperty, selectedScreenProperty ], ( compareScreenSpeechData, selectedScreen ) => {
Expand Down

0 comments on commit a2db5ee

Please sign in to comment.