Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

AlgPart constructors require new, ____SiGNMove helpers cannot be called with new #20

@lgarron

Description

@lgarron

Example:

new Sequence([BareSiGNMove("R")])

It's probably confusing to beginners to know when to use new. TypeScript and ES6 require new for classes, and I don't want to create a helper for every class. So the main workaround I see here is to make SiGNMove an abstract class, and SiGNMove helpers into actual subclasses of SiGNMove.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions