@@ -5586,7 +5586,7 @@ describe('R.init', () => {
55865586 map (x => x * 2 ),
55875587 init ,
55885588 )
5589- result // $ExpectType number []
5589+ result // $ExpectType []
55905590 })
55915591 it(' with list - using const' , () => {
55925592 const result = pipe (
@@ -6724,7 +6724,7 @@ it('R.mapChain - 3 functions', () => {
67246724 },
67256725 ),
67266726 )
6727- result // $ExpectType ("bar " | "foo ")[]
6727+ result // $ExpectType ("foo " | "bar ")[]
67286728})
67296729` ` `
67306730
@@ -7697,7 +7697,7 @@ describe('R.middle', () => {
76977697 map (x => x * 2 ),
76987698 middle ,
76997699 )
7700- result // $ExpectType number []
7700+ result // $ExpectType []
77017701 })
77027702 it(' with list - using const' , () => {
77037703 const result = pipe (
@@ -12396,7 +12396,7 @@ describe('R.switcher', () => {
1239612396 .is (x = > x < 4 , ' secondStage' )
1239712397 .default (' thirdStage' )
1239812398
12399- result // $ExpectType { id: number; }[]
12399+ result // $ExpectType Stage
1240012400 })
1240112401})
1240212402` ` `
@@ -12600,7 +12600,7 @@ describe('R.tail', () => {
1260012600 map (x => x * 2 ),
1260112601 tail ,
1260212602 )
12603- result // $ExpectType number []
12603+ result // $ExpectType []
1260412604 })
1260512605 it(' with list - using const' , () => {
1260612606 const result = pipe (
0 commit comments