Skip to content

Commit 93cbd41

Browse files
committed
chore@small
1 parent b196d91 commit 93cbd41

7 files changed

Lines changed: 15 additions & 15 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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(

docs/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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(

source/init-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('R.init', () => {
2020
map(x => x * 2),
2121
init,
2222
)
23-
result // $ExpectType number[]
23+
result // $ExpectType []
2424
})
2525
it('with list - using const', () => {
2626
const result = pipe(

source/mapChain-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ it('R.mapChain - 3 functions', () => {
5656
},
5757
),
5858
)
59-
result // $ExpectType ("bar" | "foo")[]
59+
result // $ExpectType ("foo" | "bar")[]
6060
})

source/middle-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('R.middle', () => {
2020
map(x => x * 2),
2121
middle,
2222
)
23-
result // $ExpectType number[]
23+
result // $ExpectType []
2424
})
2525
it('with list - using const', () => {
2626
const result = pipe(

source/switcher-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ describe('R.switcher', () => {
2020
.is(x => x < 4, 'secondStage')
2121
.default('thirdStage')
2222

23-
result // $ExpectType { id: number; }[]
23+
result // $ExpectType Stage
2424
})
2525
})

source/tail-spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('R.tail', () => {
2020
map(x => x * 2),
2121
tail,
2222
)
23-
result // $ExpectType number[]
23+
result // $ExpectType []
2424
})
2525
it('with list - using const', () => {
2626
const result = pipe(

0 commit comments

Comments
 (0)