@@ -15,7 +15,7 @@ import {
15
15
* used by {@link DefaultElementBoundaryNgElementStrategy}
16
16
*/
17
17
export type NgElementStrategyComponentRefExtractor = (
18
- strategy : NgElementStrategy
18
+ strategy : NgElementStrategy ,
19
19
) => ComponentRef < any > | undefined ;
20
20
21
21
/**
@@ -65,10 +65,10 @@ export class DefaultElementBoundaryNgElementStrategy
65
65
66
66
constructor (
67
67
private defaultStrategy : NgElementStrategy ,
68
- options ?: DefaultElementBoundaryNgElementStrategyOptions
68
+ options ?: DefaultElementBoundaryNgElementStrategyOptions ,
69
69
) {
70
70
this . options = new DefaultElementBoundaryNgElementStrategyOptionsDefault (
71
- options
71
+ options ,
72
72
) ;
73
73
}
74
74
@@ -104,7 +104,7 @@ export interface DefaultNgElementStrategyFactoryStrategy<O = never> {
104
104
create (
105
105
component : Type < any > ,
106
106
injector : Injector ,
107
- options ?: O
107
+ options ?: O ,
108
108
) : NgElementStrategyFactory ;
109
109
}
110
110
@@ -151,7 +151,7 @@ export class DefaultNgElementStrategyFactoryStrategyDefault
151
151
create (
152
152
component : Type < any > ,
153
153
injector : Injector ,
154
- options ?: DefaultNgElementStrategyFactoryOptions
154
+ options ?: DefaultNgElementStrategyFactoryOptions ,
155
155
) : NgElementStrategyFactory {
156
156
return new DefaultNgElementStrategyFactory ( component , injector , options ) ;
157
157
}
@@ -207,23 +207,23 @@ export class DefaultElementBoundaryNgElementStrategyFactory<
207
207
constructor (
208
208
component : Type < any > ,
209
209
injector : Injector ,
210
- options ?: DefaultElementBoundaryNgElementStrategyFactoryOptions < S >
210
+ options ?: DefaultElementBoundaryNgElementStrategyFactoryOptions < S > ,
211
211
) {
212
212
this . options = new DefaultElementBoundaryNgElementStrategyFactoryOptionsDefault (
213
- options
213
+ options ,
214
214
) ;
215
215
216
216
this . defaultStrategyFactory = this . options . factoryStrategy . create (
217
217
component ,
218
218
injector ,
219
- this . options . factoryStrategyOptions
219
+ this . options . factoryStrategyOptions ,
220
220
) ;
221
221
}
222
222
223
223
create ( injector : Injector ) : ElementBoundaryNgElementStrategy {
224
224
return new DefaultElementBoundaryNgElementStrategy (
225
225
this . defaultStrategyFactory . create ( injector ) ,
226
- this . options . strategyOptions
226
+ this . options . strategyOptions ,
227
227
) ;
228
228
}
229
229
}
0 commit comments