Skip to content

Commit

Permalink
Use WithRequired, see: phetsims/mean-share-and-balance#258
Browse files Browse the repository at this point in the history
  • Loading branch information
marlitas committed Jun 4, 2024
1 parent 7deff92 commit 0e0c2ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/model/SoccerSceneModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ import KickDistributionStrategy from '../model/KickDistributionStrategy.js';
import { KickerPhase } from './KickerPhase.js';
import Multilink from '../../../axon/js/Multilink.js';
import Tandem from '../../../tandem/js/Tandem.js';
import PickRequired from '../../../phet-core/js/types/PickRequired.js';
import optionize from '../../../phet-core/js/optionize.js';
import isResettingProperty from './isResettingProperty.js';
import isSettingPhetioStateProperty from '../../../tandem/js/isSettingPhetioStateProperty.js';
import regionAndCultureProperty from '../../../joist/js/i18n/regionAndCultureProperty.js';
import WithRequired from '../../../phet-core/js/types/WithRequired.js';

type SelfOptions = {
isSingleKickerScene?: boolean;
};

export type SoccerSceneModelOptions = SelfOptions & PickRequired<PhetioObjectOptions, 'tandem'>;
export type SoccerSceneModelOptions = SelfOptions & WithRequired<PhetioObjectOptions, 'tandem'>;

const kickSound = new SoundClip( kick_mp3, { initialOutputLevel: 0.3 } );
soundManager.addSoundGenerator( kickSound );
Expand Down

0 comments on commit 0e0c2ed

Please sign in to comment.