Typeerror Object Is Not A Function Upgrading To Angular 6

Typeerror Object Is Not A Function Upgrading To Angular 6