Skip to content

Commit c667ec3

Browse files
authored
🤖 Merge PR DefinitelyTyped#73646 [ramda] Fix for TS 6.0 by @jakebailey
1 parent 80dffc5 commit c667ec3

File tree

4 files changed

+2
-11
lines changed

4 files changed

+2
-11
lines changed

types/ramda/test/index-tests.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
import * as R from "ramda";
22
import * as dist from "ramda/dist/ramda";
33
import * as distMin from "ramda/dist/ramda.min";
4-
import * as src from "ramda/src";
54
import * as srcIndex from "ramda/src/index";
65

76
(async () => {
87
const Res = await import("ramda");
9-
const es = await import("ramda/es");
108
const esIndex = await import("ramda/es/index");
119

1210
let typeChecker: typeof R;
1311
typeChecker = R;
14-
typeChecker = src;
1512
typeChecker = srcIndex;
1613
typeChecker = dist;
1714
typeChecker = distMin;
1815
typeChecker = Res;
19-
typeChecker = es;
2016
typeChecker = esIndex;
2117
});

types/ramda/test/maxBy-tests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as R from "ramda";
2-
import { Ord } from "ramda/tools";
32

43
(() => {
5-
function cmp(obj: { x: Ord }) {
4+
function cmp(obj: { x: number | string | boolean | Date }) {
65
return obj.x;
76
}
87

types/ramda/test/minBy-tests.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import * as R from "ramda";
2-
import { Ord } from "ramda/tools";
32

43
(() => {
5-
function cmp(obj: { x: Ord }) {
4+
function cmp(obj: { x: number | string | boolean | Date }) {
65
return obj.x;
76
}
87

types/ramda/tools.d.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)