refactor(upgrade): clean up some types
This commit is contained in:

committed by
Alex Rickabaugh

parent
a0b06befb6
commit
44b50427d9
@ -18,7 +18,7 @@ export function bootstrap(
|
||||
// We bootstrap the Angular module first; then when it is ready (async)
|
||||
// We bootstrap the AngularJS module on the bootstrap element
|
||||
return platform.bootstrapModule(Ng2Module).then(ref => {
|
||||
const upgrade = ref.injector.get(UpgradeModule) as UpgradeModule;
|
||||
const upgrade = ref.injector.get<UpgradeModule>(UpgradeModule);
|
||||
upgrade.bootstrap(element, [ng1Module.name]);
|
||||
return upgrade;
|
||||
});
|
||||
|
Reference in New Issue
Block a user