diff --git a/types/ramda/index.d.ts b/types/ramda/index.d.ts index 69acb41dc6..5a3b58cd5b 100644 --- a/types/ramda/index.d.ts +++ b/types/ramda/index.d.ts @@ -19,13 +19,12 @@ // Keagan McClelland // Tomas Szabo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -// TypeScript Version: 2.6 +// TypeScript Version: 2.8 declare let R: R.Static; declare namespace R { - type Diff = ({[P in T]: P } & {[P in U]: never } & { [x: string]: never })[T]; - type Omit = Pick>; + type Omit = Pick>; type Ord = number | string | boolean; @@ -1296,8 +1295,8 @@ declare namespace R { * Returns a partial copy of an object containing only the keys specified. If the key does not exist, the * property is ignored. */ - pick(names: ReadonlyArray, obj: T): Pick>>; - pick(names: ReadonlyArray): (obj: T) => Pick>>; + pick(names: ReadonlyArray, obj: T): Pick>>; + pick(names: ReadonlyArray): (obj: T) => Pick>>; /** * Similar to `pick` except that this one includes a `key: undefined` pair for properties that don't exist.