It seems that when using AOT compilation the only way to do this is to replace the generic type with ‘any’. See https://github.com/angular/angular/issues/11057
It seems that when using AOT compilation the only way to do this is to replace the generic type with ‘any’. See https://github.com/angular/angular/issues/11057