From d26e3aee581d22e9194614a6ee7193c459c81140 Mon Sep 17 00:00:00 2001 From: Dan Bucholtz Date: Thu, 2 Jun 2016 10:05:59 -0500 Subject: [PATCH] refactor(modal): import ElementRef, fix no-implicit-any error import ElementRef, fix no-implicit-any error --- src/components/modal/modal.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/modal/modal.ts b/src/components/modal/modal.ts index 8f1db621b3..803a137fd3 100644 --- a/src/components/modal/modal.ts +++ b/src/components/modal/modal.ts @@ -1,4 +1,4 @@ -import {Component, ComponentRef, DynamicComponentLoader, ViewChild, ViewContainerRef} from '@angular/core'; +import {Component, ComponentRef, ElementRef, DynamicComponentLoader, ViewChild, ViewContainerRef} from '@angular/core'; import {addSelector} from '../../config/bootstrap'; import {Animation} from '../../animations/animation'; @@ -171,7 +171,7 @@ export class ModalCmp { let componentType = this._navParams.data.componentType; addSelector(componentType, 'ion-page'); - return this._loader.loadNextToLocation(componentType, this.viewport).then(componentRef => { + return this._loader.loadNextToLocation(componentType, this.viewport).then( (componentRef: ComponentRef) => { return componentRef; }); }