roleParams exports as a constructor function but not as a Class. If I delete the constructor function the class exports but code that uses the constructo breaks (of course).
What really puzzles me about this is, the same documentation structure works just fine for getting roleModel (for example) to export as both a class and a function.
roleParams
exports as a constructor function but not as a Class. If I delete the constructor function the class exports but code that uses the constructo breaks (of course).What really puzzles me about this is, the same documentation structure works just fine for getting
roleModel
(for example) to export as both a class and a function.