@@ -28,7 +28,7 @@ export function main() {
2828
2929 describe ( 'PortalHostDirective' , ( ) => {
3030 it ( 'should load a component into the portal' , fakeAsync ( ( ) => {
31- let appFixture : ComponentFixture ;
31+ let appFixture : ComponentFixture < PortalTestApp > ;
3232
3333 builder . createAsync ( PortalTestApp ) . then ( fixture => {
3434 appFixture = fixture ;
@@ -51,7 +51,7 @@ export function main() {
5151 } ) ) ;
5252
5353 it ( 'should load a <template> portal' , fakeAsync ( ( ) => {
54- let appFixture : ComponentFixture ;
54+ let appFixture : ComponentFixture < PortalTestApp > ;
5555
5656 builder . createAsync ( PortalTestApp ) . then ( fixture => {
5757 appFixture = fixture ;
@@ -78,7 +78,7 @@ export function main() {
7878 } ) ) ;
7979
8080 it ( 'should load a <template> portal with the `*` sugar' , fakeAsync ( ( ) => {
81- let appFixture : ComponentFixture ;
81+ let appFixture : ComponentFixture < PortalTestApp > ;
8282
8383 builder . createAsync ( PortalTestApp ) . then ( fixture => {
8484 appFixture = fixture ;
@@ -105,7 +105,7 @@ export function main() {
105105 } ) ) ;
106106
107107 it ( 'should load a <template> portal with a binding' , fakeAsync ( ( ) => {
108- let appFixture : ComponentFixture ;
108+ let appFixture : ComponentFixture < PortalTestApp > ;
109109
110110 builder . createAsync ( PortalTestApp ) . then ( fixture => {
111111 appFixture = fixture ;
@@ -143,7 +143,7 @@ export function main() {
143143 } ) ) ;
144144
145145 it ( 'should change the attached portal' , fakeAsync ( ( ) => {
146- let appFixture : ComponentFixture ;
146+ let appFixture : ComponentFixture < PortalTestApp > ;
147147
148148 builder . createAsync ( PortalTestApp ) . then ( fixture => {
149149 appFixture = fixture ;
@@ -219,7 +219,7 @@ export function main() {
219219 } ) ) ;
220220
221221 it ( 'should attach and detach a template portal' , fakeAsync ( ( ) => {
222- let appFixture : ComponentFixture ;
222+ let appFixture : ComponentFixture < PortalTestApp > ;
223223
224224 builder . createAsync ( PortalTestApp ) . then ( fixture => {
225225 appFixture = fixture ;
@@ -236,7 +236,7 @@ export function main() {
236236 } ) ) ;
237237
238238 it ( 'should attach and detach a template portal with a binding' , fakeAsync ( ( ) => {
239- let appFixture : ComponentFixture ;
239+ let appFixture : ComponentFixture < PortalTestApp > ;
240240 builder . createAsync ( PortalTestApp ) . then ( fixture => {
241241 appFixture = fixture ;
242242 } ) ;
@@ -281,7 +281,7 @@ export function main() {
281281
282282 flushMicrotasks ( ) ;
283283
284- let appFixture : ComponentFixture ;
284+ let appFixture : ComponentFixture < PortalTestApp > ;
285285
286286 builder . createAsync ( PortalTestApp ) . then ( fixture => {
287287 appFixture = fixture ;
0 commit comments