Angular 2 bootstrap function gives error “Argument type AppComponent is not assignable to parameter type Type” June 6, 2023 by Tarik I stumbled on this in Intellij 2016.1.2, with the Angular quickstart demo. Setting the following options in IDE helped: