You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
lgarron
changed the title
AlgPart constructors require new, *SiGNMove helpers cannot be called with newAlgPart constructors require new, ____SiGNMove helpers cannot be called with newJul 15, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Example:
It's probably confusing to beginners to know when to use
new
. TypeScript and ES6 requirenew
for classes, and I don't want to create a helper for every class. So the main workaround I see here is to makeSiGNMove
an abstract class, andSiGNMove
helpers into actual subclasses ofSiGNMove
.The text was updated successfully, but these errors were encountered: