classy-mst
classy-mst copied to clipboard
Type Tag not present in subclass
I tried to reproduce the polymorphism example from the readme. While subclassing appears to be working correctly, there is no $
, nor any other property that would tag the subclass with the string I provide as third argument to mst
, e.g., mst(code, model, "mysubclass)
.
Any idea why this is not working as intended?
Did you pass the parent class prototype as the second parameter to shim
?