Updating to the latest version, 3.1.1 causes the runtime error:
ERROR ReferenceError: Must call super constructor in derived class before accessing 'this' or returning from derived constructor
Reverting back to 3.1.0 resolves the issue.
This occurs with angular 7 production build.
Looking at the changes v3.1.0...v3.1.1, it looks like a number of angular version and compiler version changes were done.
I've a feeling this is most likely related to this issue:
angular/angular-cli#14416
with a fix only targeted for angular 8: angular/devkit#981