@@ -28,6 +28,9 @@ export interface MemoizedSelector<
28
28
clearResult : ( ) => void ;
29
29
}
30
30
31
+ /**
32
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
33
+ */
31
34
export interface MemoizedSelectorWithProps <
32
35
State ,
33
36
Props ,
@@ -122,6 +125,9 @@ export function createSelector<State, S1, Result>(
122
125
s1 : Selector < State , S1 > ,
123
126
projector : ( s1 : S1 ) => Result
124
127
) : MemoizedSelector < State , Result > ;
128
+ /**
129
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
130
+ */
125
131
export function createSelector < State , Props , S1 , Result > (
126
132
s1 : SelectorWithProps < State , Props , S1 > ,
127
133
projector : ( s1 : S1 , props : Props ) => Result
@@ -130,6 +136,9 @@ export function createSelector<State, S1, Result>(
130
136
selectors : [ Selector < State , S1 > ] ,
131
137
projector : ( s1 : S1 ) => Result
132
138
) : MemoizedSelector < State , Result > ;
139
+ /**
140
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
141
+ */
133
142
export function createSelector < State , Props , S1 , Result > (
134
143
selectors : [ SelectorWithProps < State , Props , S1 > ] ,
135
144
projector : ( s1 : S1 , props : Props ) => Result
@@ -140,15 +149,22 @@ export function createSelector<State, S1, S2, Result>(
140
149
s2 : Selector < State , S2 > ,
141
150
projector : ( s1 : S1 , s2 : S2 ) => Result
142
151
) : MemoizedSelector < State , Result > ;
152
+ /**
153
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
154
+ */
143
155
export function createSelector < State , Props , S1 , S2 , Result > (
144
156
s1 : SelectorWithProps < State , Props , S1 > ,
145
157
s2 : SelectorWithProps < State , Props , S2 > ,
146
158
projector : ( s1 : S1 , s2 : S2 , props : Props ) => Result
147
159
) : MemoizedSelectorWithProps < State , Props , Result > ;
160
+
148
161
export function createSelector < State , S1 , S2 , Result > (
149
162
selectors : [ Selector < State , S1 > , Selector < State , S2 > ] ,
150
163
projector : ( s1 : S1 , s2 : S2 ) => Result
151
164
) : MemoizedSelector < State , Result > ;
165
+ /**
166
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
167
+ */
152
168
export function createSelector < State , Props , S1 , S2 , Result > (
153
169
selectors : [
154
170
SelectorWithProps < State , Props , S1 > ,
@@ -163,6 +179,9 @@ export function createSelector<State, S1, S2, S3, Result>(
163
179
s3 : Selector < State , S3 > ,
164
180
projector : ( s1 : S1 , s2 : S2 , s3 : S3 ) => Result
165
181
) : MemoizedSelector < State , Result > ;
182
+ /**
183
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
184
+ */
166
185
export function createSelector < State , Props , S1 , S2 , S3 , Result > (
167
186
s1 : SelectorWithProps < State , Props , S1 > ,
168
187
s2 : SelectorWithProps < State , Props , S2 > ,
@@ -173,6 +192,9 @@ export function createSelector<State, S1, S2, S3, Result>(
173
192
selectors : [ Selector < State , S1 > , Selector < State , S2 > , Selector < State , S3 > ] ,
174
193
projector : ( s1 : S1 , s2 : S2 , s3 : S3 ) => Result
175
194
) : MemoizedSelector < State , Result > ;
195
+ /**
196
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
197
+ */
176
198
export function createSelector < State , Props , S1 , S2 , S3 , Result > (
177
199
selectors : [
178
200
SelectorWithProps < State , Props , S1 > ,
@@ -189,6 +211,9 @@ export function createSelector<State, S1, S2, S3, S4, Result>(
189
211
s4 : Selector < State , S4 > ,
190
212
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 ) => Result
191
213
) : MemoizedSelector < State , Result > ;
214
+ /**
215
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
216
+ */
192
217
export function createSelector < State , Props , S1 , S2 , S3 , S4 , Result > (
193
218
s1 : SelectorWithProps < State , Props , S1 > ,
194
219
s2 : SelectorWithProps < State , Props , S2 > ,
@@ -205,6 +230,9 @@ export function createSelector<State, S1, S2, S3, S4, Result>(
205
230
] ,
206
231
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 ) => Result
207
232
) : MemoizedSelector < State , Result > ;
233
+ /**
234
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
235
+ */
208
236
export function createSelector < State , Props , S1 , S2 , S3 , S4 , Result > (
209
237
selectors : [
210
238
SelectorWithProps < State , Props , S1 > ,
@@ -223,6 +251,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, Result>(
223
251
s5 : Selector < State , S5 > ,
224
252
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 ) => Result
225
253
) : MemoizedSelector < State , Result > ;
254
+ /**
255
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
256
+ */
226
257
export function createSelector < State , Props , S1 , S2 , S3 , S4 , S5 , Result > (
227
258
s1 : SelectorWithProps < State , Props , S1 > ,
228
259
s2 : SelectorWithProps < State , Props , S2 > ,
@@ -241,6 +272,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, Result>(
241
272
] ,
242
273
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 ) => Result
243
274
) : MemoizedSelector < State , Result > ;
275
+ /**
276
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
277
+ */
244
278
export function createSelector < State , Props , S1 , S2 , S3 , S4 , S5 , Result > (
245
279
selectors : [
246
280
SelectorWithProps < State , Props , S1 > ,
@@ -261,6 +295,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, Result>(
261
295
s6 : Selector < State , S6 > ,
262
296
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 ) => Result
263
297
) : MemoizedSelector < State , Result > ;
298
+ /**
299
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
300
+ */
264
301
export function createSelector < State , Props , S1 , S2 , S3 , S4 , S5 , S6 , Result > (
265
302
s1 : SelectorWithProps < State , Props , S1 > ,
266
303
s2 : SelectorWithProps < State , Props , S2 > ,
@@ -283,13 +320,15 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, Result>(
283
320
Selector < State , S1 > ,
284
321
Selector < State , S2 > ,
285
322
Selector < State , S3 > ,
286
-
287
323
Selector < State , S4 > ,
288
324
Selector < State , S5 > ,
289
325
Selector < State , S6 >
290
326
] ,
291
327
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 ) => Result
292
328
) : MemoizedSelector < State , Result > ;
329
+ /**
330
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
331
+ */
293
332
export function createSelector < State , Props , S1 , S2 , S3 , S4 , S5 , S6 , Result > (
294
333
selectors : [
295
334
SelectorWithProps < State , Props , S1 > ,
@@ -320,6 +359,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, S7, Result>(
320
359
s7 : Selector < State , S7 > ,
321
360
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 , s7 : S7 ) => Result
322
361
) : MemoizedSelector < State , Result > ;
362
+ /**
363
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
364
+ */
323
365
export function createSelector <
324
366
State ,
325
367
Props ,
@@ -362,6 +404,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, S7, Result>(
362
404
] ,
363
405
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 , s7 : S7 ) => Result
364
406
) : MemoizedSelector < State , Result > ;
407
+ /**
408
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
409
+ */
365
410
export function createSelector <
366
411
State ,
367
412
Props ,
@@ -415,6 +460,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, S7, S8, Result>(
415
460
s8 : S8
416
461
) => Result
417
462
) : MemoizedSelector < State , Result > ;
463
+ /**
464
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
465
+ */
418
466
export function createSelector <
419
467
State ,
420
468
Props ,
@@ -470,6 +518,9 @@ export function createSelector<State, S1, S2, S3, S4, S5, S6, S7, S8, Result>(
470
518
s8 : S8
471
519
) => Result
472
520
) : MemoizedSelector < State , Result > ;
521
+ /**
522
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
523
+ */
473
524
export function createSelector <
474
525
State ,
475
526
Props ,
@@ -545,9 +596,15 @@ export function createSelectorFactory<T = any, V = any>(
545
596
memoize : MemoizeFn ,
546
597
options : SelectorFactoryConfig < T , V >
547
598
) : ( ...input : any [ ] ) => MemoizedSelector < T , V > ;
599
+ /**
600
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
601
+ */
548
602
export function createSelectorFactory < T = any , Props = any , V = any > (
549
603
memoize : MemoizeFn
550
604
) : ( ...input : any [ ] ) => MemoizedSelectorWithProps < T , Props , V > ;
605
+ /**
606
+ * @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
607
+ */
551
608
export function createSelectorFactory < T = any , Props = any , V = any > (
552
609
memoize : MemoizeFn ,
553
610
options : SelectorFactoryConfig < T , V >
0 commit comments