Skip to content

Commit

Permalink
Improve parameter names, see phetsims/tandem#273
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Oct 7, 2022
1 parent cf4ef82 commit b06c41a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/common/view/CardNodeContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,9 @@ type CardNodeContainerState = {
const CardNodeReferenceIO = ReferenceIO( Node.NodeIO );
const CardNodeContainerIO = new IOType( 'CardNodeContainerIO', {
valueType: CardNodeContainer,
toStateObject: ( n: CardNodeContainer ) => {
toStateObject: ( cardNodeContainer: CardNodeContainer ) => {
return {
cardNodes: n.cardNodeCells.map( cardNode => CardNodeReferenceIO.toStateObject( cardNode ) )
cardNodes: cardNodeContainer.cardNodeCells.map( cardNode => CardNodeReferenceIO.toStateObject( cardNode ) )
};
},
applyState: ( cardNodeContainer: CardNodeContainer, state: CardNodeContainerState ) => {
Expand Down

0 comments on commit b06c41a

Please sign in to comment.