Skip to content

Commit

Permalink
Use TrimmedParallelDOMOptions, see phetsims/scenery#1666, and phetsim…
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegreenberg committed Oct 28, 2024
1 parent 1ca9716 commit 4a5761c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/ABSwitch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Property from '../../axon/js/Property.js';
import TEmitter from '../../axon/js/TEmitter.js';
import InstanceRegistry from '../../phet-core/js/documentation/InstanceRegistry.js';
import optionize, { combineOptions } from '../../phet-core/js/optionize.js';
import { AlignBox, AlignGroup, HBox, HBoxOptions, Node, ParallelDOM, PressListener, SceneryConstants } from '../../scenery/js/imports.js';
import { AlignBox, AlignGroup, HBox, HBoxOptions, Node, ParallelDOM, PressListener, TrimmedParallelDOMOptions, SceneryConstants } from '../../scenery/js/imports.js';
import Tandem from '../../tandem/js/Tandem.js';
import sun from './sun.js';
import ToggleSwitch, { ToggleSwitchOptions } from './ToggleSwitch.js';
Expand All @@ -37,7 +37,7 @@ type SelfOptions = {
centerOnSwitch?: boolean;
};

export type ABSwitchOptions = SelfOptions & HBoxOptions;
export type ABSwitchOptions = TrimmedParallelDOMOptions<SelfOptions & HBoxOptions>;

export default class ABSwitch<T> extends HBox {

Expand Down

0 comments on commit 4a5761c

Please sign in to comment.