@@ -28,7 +28,7 @@ export function main() {
28
28
29
29
describe ( 'PortalHostDirective' , ( ) => {
30
30
it ( 'should load a component into the portal' , fakeAsync ( ( ) => {
31
- let appFixture : ComponentFixture ;
31
+ let appFixture : ComponentFixture < PortalTestApp > ;
32
32
33
33
builder . createAsync ( PortalTestApp ) . then ( fixture => {
34
34
appFixture = fixture ;
@@ -51,7 +51,7 @@ export function main() {
51
51
} ) ) ;
52
52
53
53
it ( 'should load a <template> portal' , fakeAsync ( ( ) => {
54
- let appFixture : ComponentFixture ;
54
+ let appFixture : ComponentFixture < PortalTestApp > ;
55
55
56
56
builder . createAsync ( PortalTestApp ) . then ( fixture => {
57
57
appFixture = fixture ;
@@ -78,7 +78,7 @@ export function main() {
78
78
} ) ) ;
79
79
80
80
it ( 'should load a <template> portal with the `*` sugar' , fakeAsync ( ( ) => {
81
- let appFixture : ComponentFixture ;
81
+ let appFixture : ComponentFixture < PortalTestApp > ;
82
82
83
83
builder . createAsync ( PortalTestApp ) . then ( fixture => {
84
84
appFixture = fixture ;
@@ -105,7 +105,7 @@ export function main() {
105
105
} ) ) ;
106
106
107
107
it ( 'should load a <template> portal with a binding' , fakeAsync ( ( ) => {
108
- let appFixture : ComponentFixture ;
108
+ let appFixture : ComponentFixture < PortalTestApp > ;
109
109
110
110
builder . createAsync ( PortalTestApp ) . then ( fixture => {
111
111
appFixture = fixture ;
@@ -143,7 +143,7 @@ export function main() {
143
143
} ) ) ;
144
144
145
145
it ( 'should change the attached portal' , fakeAsync ( ( ) => {
146
- let appFixture : ComponentFixture ;
146
+ let appFixture : ComponentFixture < PortalTestApp > ;
147
147
148
148
builder . createAsync ( PortalTestApp ) . then ( fixture => {
149
149
appFixture = fixture ;
@@ -219,7 +219,7 @@ export function main() {
219
219
} ) ) ;
220
220
221
221
it ( 'should attach and detach a template portal' , fakeAsync ( ( ) => {
222
- let appFixture : ComponentFixture ;
222
+ let appFixture : ComponentFixture < PortalTestApp > ;
223
223
224
224
builder . createAsync ( PortalTestApp ) . then ( fixture => {
225
225
appFixture = fixture ;
@@ -236,7 +236,7 @@ export function main() {
236
236
} ) ) ;
237
237
238
238
it ( 'should attach and detach a template portal with a binding' , fakeAsync ( ( ) => {
239
- let appFixture : ComponentFixture ;
239
+ let appFixture : ComponentFixture < PortalTestApp > ;
240
240
builder . createAsync ( PortalTestApp ) . then ( fixture => {
241
241
appFixture = fixture ;
242
242
} ) ;
@@ -281,7 +281,7 @@ export function main() {
281
281
282
282
flushMicrotasks ( ) ;
283
283
284
- let appFixture : ComponentFixture ;
284
+ let appFixture : ComponentFixture < PortalTestApp > ;
285
285
286
286
builder . createAsync ( PortalTestApp ) . then ( fixture => {
287
287
appFixture = fixture ;
0 commit comments