From ce74221cdb018cf5c9760985716ce9613c8650ea Mon Sep 17 00:00:00 2001 From: Michael Kauzmann Date: Thu, 19 Dec 2024 10:36:38 -0700 Subject: [PATCH] minor formatting, https://github.com/phetsims/scenery-phet/issues/887 --- .../view/GroupSelectDragInteractionView.ts | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/js/common/view/GroupSelectDragInteractionView.ts b/js/common/view/GroupSelectDragInteractionView.ts index bd7f5cc..c380225 100644 --- a/js/common/view/GroupSelectDragInteractionView.ts +++ b/js/common/view/GroupSelectDragInteractionView.ts @@ -8,19 +8,19 @@ * */ -import GroupSelectView, { GroupSelectViewOptions } from '../../../../scenery-phet/js/accessibility/group-sort/view/GroupSelectView.js'; -import GroupSelectModel from '../../../../scenery-phet/js/accessibility/group-sort/model/GroupSelectModel.js'; -import CountingObject from '../model/CountingObject.js'; -import LocationCountingObjectNode from './LocationCountingObjectNode.js'; -import numberPairs from '../../numberPairs.js'; -import { KeyboardListener, Node } from '../../../../scenery/js/imports.js'; -import NumberPairsModel from '../model/NumberPairsModel.js'; -import optionize, { combineOptions } from '../../../../phet-core/js/optionize.js'; import DerivedProperty from '../../../../axon/js/DerivedProperty.js'; +import optionize, { combineOptions } from '../../../../phet-core/js/optionize.js'; import PickRequired from '../../../../phet-core/js/types/PickRequired.js'; import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js'; +import GroupSelectModel from '../../../../scenery-phet/js/accessibility/group-sort/model/GroupSelectModel.js'; +import GroupSelectView, { GroupSelectViewOptions } from '../../../../scenery-phet/js/accessibility/group-sort/view/GroupSelectView.js'; import SoundKeyboardDragListener, { SoundKeyboardDragListenerOptions } from '../../../../scenery-phet/js/SoundKeyboardDragListener.js'; +import { KeyboardListener, Node } from '../../../../scenery/js/imports.js'; import { PhetioObjectOptions } from '../../../../tandem/js/PhetioObject.js'; +import numberPairs from '../../numberPairs.js'; +import CountingObject from '../model/CountingObject.js'; +import NumberPairsModel from '../model/NumberPairsModel.js'; +import LocationCountingObjectNode from './LocationCountingObjectNode.js'; // A list of all keys that are listened to, except those covered by the numberKeyMapper const KEYBOARD_INTERACTION_KEYS = [ @@ -36,10 +36,8 @@ type SelfOptions = { soundKeyboardDragListenerOptions?: SoundKeyboardDragListenerOptions; getNextSelectedGroupItemFromPressedKeys: ( keysPressed: AvailablePressedKeys, groupItem: CountingObject ) => CountingObject; }; -type GroupSelectDragInteractionViewOptions = - SelfOptions - & StrictOmit, 'getNodeFromModelItem'> - & +type GroupSelectDragInteractionViewOptions = SelfOptions & + StrictOmit, 'getNodeFromModelItem'> & PickRequired; export default class GroupSelectDragInteractionView extends GroupSelectView {