@michbeck100 BTW, you’re still referencing this before calling super()
Using this one as an example:
class LogActionProvider extends ActionProvider
constructor: (@framework) ->
super()
should be rewritten as
class LogActionProvider extends ActionProvider
constructor: (framework) ->
super()
@framework = framework
Another approach would be to change the base ActionProvider class to
class ActionProvider
constructor: (@framework) ->
parseAction: (input, context) =>
throw new Error("Your ActionProvider must implement parseAction")
and then in all the extended classes you can just use:
class LogActionProvider extends ActionProvider
constructor: (framework) ->
super(framework)