Skip to content

Typescript Convention: How to support PhET's option pattern? #128

@zepumph

Description

@zepumph

Linked issues:
phetsims/chipper#1049
phetsims/ratio-and-proportion#405
phetsims/ratio-and-proportion#404

@samreid and I spent the last couple hours preparing an extensive example of the ways that options are used throughout the project. We will commit this to a class in Wilder, which currently is passing the ts compiler. From here we can bring this to a group meeting to understand some of the constraints, and potential changes.

In general this felt stable enough that I will take the pattern for a test drive in RAP over in phetsims/ratio-and-proportion#404.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions