Skip to content

Commit

Permalink
Separate out scenes, see phetsims/center-and-variability#164
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 3, 2023
1 parent 95e6058 commit 2d426ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/DynamicProperty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ type SelfOptions<ThisValueType, InnerValueType, OuterValueType> = {

// Maps a non-null valuePropertyProperty.value into the Property to be used. See top-level documentation for usage.
// If it's a string, it will grab that named property out (e.g. it's like passing u => u[ derive ])
derive?: ( ( outerValue: OuterValueType ) => TReadOnlyProperty<InnerValueType> ) | KeysMatching<OuterValueType, TProperty<InnerValueType>>;
// NOTE: This accepts TReadOnlyProperty, but if you have bidirectional:true it must be a full TProperty.
// This is not currently type checked.
derive?: ( ( outerValue: OuterValueType ) => TReadOnlyProperty<InnerValueType> ) | KeysMatching<OuterValueType, TReadOnlyProperty<InnerValueType>>;

// Maps our input Property value to/from this Property's value. See top-level documentation for usage.
// If it's a string, it will grab that named property out (e.g. it's like passing u => u[ derive ])
Expand Down

0 comments on commit 2d426ec

Please sign in to comment.