I ran into the same problem after updating angular. I did this:
I created igv.d.ts:
declare module '*';
in the same level as app.component.
Then I put createBrowser inside ngAfterViewInit. In retrospect I wonder why it used to work inside ngOnInit, it should be created after the tempalte is rendered....
ngAfterViewInit() {
this.createBrowser()
}
Hope this fixes your problem.