@@ -91,6 +91,7 @@ export function defaultMemoize(
91
91
}
92
92
93
93
/* eslint-disable prefer-rest-params, prefer-spread */
94
+
94
95
// disabled because of the use of `arguments`
95
96
function memoized ( ) : any {
96
97
if ( overrideResult !== undefined ) {
@@ -222,7 +223,12 @@ export function createSelector<State, Slices extends unknown[], Result>(
222
223
export function createSelector < State , Props , S1 , Result > (
223
224
s1 : SelectorWithProps < State , Props , S1 > ,
224
225
projector : ( s1 : S1 , props : Props ) => Result
225
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
226
+ ) : MemoizedSelectorWithProps <
227
+ State ,
228
+ Props ,
229
+ Result ,
230
+ ( s1 : S1 , props : Props ) => Result
231
+ > ;
226
232
227
233
/**
228
234
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -231,7 +237,12 @@ export function createSelector<State, Props, S1, S2, Result>(
231
237
s1 : SelectorWithProps < State , Props , S1 > ,
232
238
s2 : SelectorWithProps < State , Props , S2 > ,
233
239
projector : ( s1 : S1 , s2 : S2 , props : Props ) => Result
234
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
240
+ ) : MemoizedSelectorWithProps <
241
+ State ,
242
+ Props ,
243
+ Result ,
244
+ ( s1 : S1 , s2 : S2 , props : Props ) => Result
245
+ > ;
235
246
236
247
/**
237
248
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -241,7 +252,12 @@ export function createSelector<State, Props, S1, S2, S3, Result>(
241
252
s2 : SelectorWithProps < State , Props , S2 > ,
242
253
s3 : SelectorWithProps < State , Props , S3 > ,
243
254
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , props : Props ) => Result
244
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
255
+ ) : MemoizedSelectorWithProps <
256
+ State ,
257
+ Props ,
258
+ Result ,
259
+ ( s1 : S1 , s2 : S2 , s3 : S3 , props : Props ) => Result
260
+ > ;
245
261
246
262
/**
247
263
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -252,7 +268,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, Result>(
252
268
s3 : SelectorWithProps < State , Props , S3 > ,
253
269
s4 : SelectorWithProps < State , Props , S4 > ,
254
270
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , props : Props ) => Result
255
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
271
+ ) : MemoizedSelectorWithProps <
272
+ State ,
273
+ Props ,
274
+ Result ,
275
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , props : Props ) => Result
276
+ > ;
256
277
257
278
/**
258
279
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -264,7 +285,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, S5, Result>(
264
285
s4 : SelectorWithProps < State , Props , S4 > ,
265
286
s5 : SelectorWithProps < State , Props , S5 > ,
266
287
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , props : Props ) => Result
267
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
288
+ ) : MemoizedSelectorWithProps <
289
+ State ,
290
+ Props ,
291
+ Result ,
292
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , props : Props ) => Result
293
+ > ;
268
294
269
295
/**
270
296
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -285,7 +311,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, S5, S6, Result>(
285
311
s6 : S6 ,
286
312
props : Props
287
313
) => Result
288
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
314
+ ) : MemoizedSelectorWithProps <
315
+ State ,
316
+ Props ,
317
+ Result ,
318
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 , props : Props ) => Result
319
+ > ;
289
320
290
321
/**
291
322
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -319,7 +350,21 @@ export function createSelector<
319
350
s7 : S7 ,
320
351
props : Props
321
352
) => Result
322
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
353
+ ) : MemoizedSelectorWithProps <
354
+ State ,
355
+ Props ,
356
+ Result ,
357
+ (
358
+ s1 : S1 ,
359
+ s2 : S2 ,
360
+ s3 : S3 ,
361
+ s4 : S4 ,
362
+ s5 : S5 ,
363
+ s6 : S6 ,
364
+ s7 : S7 ,
365
+ props : Props
366
+ ) => Result
367
+ > ;
323
368
324
369
/**
325
370
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -356,7 +401,22 @@ export function createSelector<
356
401
s8 : S8 ,
357
402
props : Props
358
403
) => Result
359
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
404
+ ) : MemoizedSelectorWithProps <
405
+ State ,
406
+ Props ,
407
+ Result ,
408
+ (
409
+ s1 : S1 ,
410
+ s2 : S2 ,
411
+ s3 : S3 ,
412
+ s4 : S4 ,
413
+ s5 : S5 ,
414
+ s6 : S6 ,
415
+ s7 : S7 ,
416
+ s8 : S8 ,
417
+ props : Props
418
+ ) => Result
419
+ > ;
360
420
361
421
export function createSelector < State , Slices extends unknown [ ] , Result > (
362
422
selectors : Selector < State , unknown > [ ] &
@@ -370,7 +430,12 @@ export function createSelector<State, Slices extends unknown[], Result>(
370
430
export function createSelector < State , Props , S1 , Result > (
371
431
selectors : [ SelectorWithProps < State , Props , S1 > ] ,
372
432
projector : ( s1 : S1 , props : Props ) => Result
373
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
433
+ ) : MemoizedSelectorWithProps <
434
+ State ,
435
+ Props ,
436
+ Result ,
437
+ ( s1 : S1 , props : Props ) => Result
438
+ > ;
374
439
375
440
/**
376
441
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -381,7 +446,12 @@ export function createSelector<State, Props, S1, S2, Result>(
381
446
SelectorWithProps < State , Props , S2 >
382
447
] ,
383
448
projector : ( s1 : S1 , s2 : S2 , props : Props ) => Result
384
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
449
+ ) : MemoizedSelectorWithProps <
450
+ State ,
451
+ Props ,
452
+ Result ,
453
+ ( s1 : S1 , s2 : S2 , props : Props ) => Result
454
+ > ;
385
455
386
456
/**
387
457
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -393,7 +463,12 @@ export function createSelector<State, Props, S1, S2, S3, Result>(
393
463
SelectorWithProps < State , Props , S3 >
394
464
] ,
395
465
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , props : Props ) => Result
396
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
466
+ ) : MemoizedSelectorWithProps <
467
+ State ,
468
+ Props ,
469
+ Result ,
470
+ ( s1 : S1 , s2 : S2 , s3 : S3 , props : Props ) => Result
471
+ > ;
397
472
398
473
/**
399
474
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -406,7 +481,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, Result>(
406
481
SelectorWithProps < State , Props , S4 >
407
482
] ,
408
483
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , props : Props ) => Result
409
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
484
+ ) : MemoizedSelectorWithProps <
485
+ State ,
486
+ Props ,
487
+ Result ,
488
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , props : Props ) => Result
489
+ > ;
410
490
411
491
/**
412
492
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -420,7 +500,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, S5, Result>(
420
500
SelectorWithProps < State , Props , S5 >
421
501
] ,
422
502
projector : ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , props : Props ) => Result
423
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
503
+ ) : MemoizedSelectorWithProps <
504
+ State ,
505
+ Props ,
506
+ Result ,
507
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , props : Props ) => Result
508
+ > ;
424
509
425
510
/**
426
511
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -443,7 +528,12 @@ export function createSelector<State, Props, S1, S2, S3, S4, S5, S6, Result>(
443
528
s6 : S6 ,
444
529
props : Props
445
530
) => Result
446
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
531
+ ) : MemoizedSelectorWithProps <
532
+ State ,
533
+ Props ,
534
+ Result ,
535
+ ( s1 : S1 , s2 : S2 , s3 : S3 , s4 : S4 , s5 : S5 , s6 : S6 , props : Props ) => Result
536
+ > ;
447
537
448
538
/**
449
539
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -479,7 +569,21 @@ export function createSelector<
479
569
s7 : S7 ,
480
570
props : Props
481
571
) => Result
482
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
572
+ ) : MemoizedSelectorWithProps <
573
+ State ,
574
+ Props ,
575
+ Result ,
576
+ (
577
+ s1 : S1 ,
578
+ s2 : S2 ,
579
+ s3 : S3 ,
580
+ s4 : S4 ,
581
+ s5 : S5 ,
582
+ s6 : S6 ,
583
+ s7 : S7 ,
584
+ props : Props
585
+ ) => Result
586
+ > ;
483
587
484
588
/**
485
589
* @deprecated Selectors with props are deprecated, for more info see {@link https://github.com/ngrx/platform/issues/2980 Github Issue}
@@ -518,7 +622,22 @@ export function createSelector<
518
622
s8 : S8 ,
519
623
props : Props
520
624
) => Result
521
- ) : MemoizedSelectorWithProps < State , Props , Result > ;
625
+ ) : MemoizedSelectorWithProps <
626
+ State ,
627
+ Props ,
628
+ Result ,
629
+ (
630
+ s1 : S1 ,
631
+ s2 : S2 ,
632
+ s3 : S3 ,
633
+ s4 : S4 ,
634
+ s5 : S5 ,
635
+ s6 : S6 ,
636
+ s7 : S7 ,
637
+ s8 : S8 ,
638
+ props : Props
639
+ ) => Result
640
+ > ;
522
641
523
642
export function createSelector (
524
643
...input : any [ ]
0 commit comments